Returns true
if self is a direct reference to
Continue
or Stop
, false
otherwise.
Given a mapping function, returns a new future reference that
is the result of a flatMap
operation applied to the source.
Given a mapping function, returns a new future reference that
is the result of a flatMap
operation applied to the source.
Execution will happen synchronously if the source
value is
a direct reference to Continue
or Stop
, or asynchronously
otherwise.
Given a mapping function, returns a new future reference that
is the result of a map
operation applied to the source.
Given a mapping function, returns a new future reference that
is the result of a map
operation applied to the source.
Execution will happen synchronously if the source
value is
a direct reference to Continue
or Stop
, or asynchronously
otherwise.
When the source future is completed, either through an exception, or a value, apply the provided function.
When the source future is completed, either through an exception, or a value, apply the provided function.
Execution will happen synchronously if the source
value is
a direct reference to Continue
or Stop
, or asynchronously
otherwise.
Executes the given callback
on Continue
.
Executes the given callback
on Continue
.
Execution will happen synchronously if the source
value is
a direct reference to Continue
or Stop
, or asynchronously
otherwise.
If the source completes with a Stop
, then complete the given
promise with a value.
If the source completes with a Stop
, then complete the given
promise with a value.
Executes the given callback
on Stop
or on Failure(ex)
.
Executes the given callback
on Stop
or on Failure(ex)
.
Execution will happen synchronously if the source
value is
a direct reference to Continue
or Stop
, or asynchronously
otherwise.
Tries converting an already completed Future[Ack]
into a direct
reference to Continue
or Stop
.
Tries converting an already completed Future[Ack]
into a direct
reference to Continue
or Stop
. Useful for collapsing async
pipelines.
Helpers for dealing with synchronous
Future[Ack]
results, powered by macros.