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 without any hard
asynchronous boundaries — in case the source
is an Ack
value (e.g. Continue
or Stop
) then
execution will be immediate, otherwise execution
will be trampolined (being execute on Monix's
TrampolineExecutionContext
).
WARN: in case the source is an Ack
value
(e.g. Continue
or Stop
) and the execution being
immediate, with no async boundaries, this means that
application of this function is *stack unsafe*!
Use with great care as an optimization. Don't use it in tail-recursive loops!
is the mapping function used to transform the source
is an exception reporter used for reporting errors
triggered by f
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 without any hard
asynchronous boundaries — in case the source
is an Ack
value (e.g. Continue
or Stop
) then
execution will be immediate, otherwise execution
will be trampolined (being execute on Monix's
TrampolineExecutionContext
).
WARN: in case the source is an Ack
value
(e.g. Continue
or Stop
) and the execution being
immediate, with no async boundaries, this means that
application of this function is *stack unsafe*!
Use with great care as an optimization. Don't use it in tail-recursive loops!
is the mapping function used to transform the source
is an exception reporter used for reporting errors
triggered by f
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 without any hard
asynchronous boundaries — in case the source
is an Ack
value (e.g. Continue
or Stop
) then
execution will be immediate, otherwise execution
will be trampolined (being execute on Monix's
TrampolineExecutionContext
).
WARN: in case the source is an Ack
value
(e.g. Continue
or Stop
) and the execution being
immediate, with no async boundaries, this means that
application of this function is *stack unsafe*!
Use with great care as an optimization. Don't use it in tail-recursive loops!
is a reporter for exceptions thrown by f
Executes the given callback
on Continue
.
Executes the given callback
on Continue
.
Execution will happen without any hard
asynchronous boundaries — in case the source
is an Ack
value (e.g. Continue
or Stop
) then
execution will be immediate, otherwise execution
will be trampolined (being execute on Monix's
TrampolineExecutionContext
).
WARN: in case the source is an Ack
value
(e.g. Continue
or Stop
) and the execution being
immediate, with no async boundaries, this means that
application of this function is *stack unsafe*!
Use with great care as an optimization. Don't use it in tail-recursive loops!
is an exception reporter used for reporting errors
triggered by thunk
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 without any hard
asynchronous boundaries — in case the source
is an Ack
value (e.g. Continue
or Stop
) then
execution will be immediate, otherwise execution
will be trampolined (being execute on Monix's
TrampolineExecutionContext
).
WARN: in case the source is an Ack
value
(e.g. Continue
or Stop
) and the execution being
immediate, with no async boundaries, this means that
application of this function is *stack unsafe*!
Use with great care as an optimization. Don't use it in tail-recursive loops!
is an exception reporter used for reporting errors
triggered by cb
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.