See Original text in context
method status(Promise --> PromiseStatus)
Returns the current state of the promise: Kept
, Broken
or Planned
:
say "promise got Kept" if .status ~~ Kept;
See Original text in context
method status()
Returns the status the Promise had at that time.