Class that enriches a RIChan with a future
methods.
Create a result channel that returns the result of an asynchronous task that is scheduled immediately for execution.
Create a result channel that returns the result of an asynchronous task that is scheduled immediately for execution.
Note: the executor that executes the task can be released immediately once
the result becomes available, independently from the transformations
applied to the result, by calling dispathTo
immediately after this
channel is created.
the type of the message created by the task.
the executor that executes the task and produces a result.
the task that is executed asynchronously by the executor.
a result channel that produces the result of the task
Call with current continuation.
Call with current continuation.
a function that takes the current continuation as argument.
a result channel that returns the parameter passed to call
.
Enrich a RIChan with future method.
Create a result channel that fails with a signal.
Create a result channel that fails with a signal.
a result channel that produces the message a
Create a result channel that returns the result of an asynchronous task that is scheduled only when some process attempts to consume the result.
Create a result channel that returns the result of an asynchronous task that is scheduled only when some process attempts to consume the result.
Note: the executor that executes the task can be released immediately once
the result becomes available, independently from the transformations
applied to the result, by calling dispathTo
immediately after this
channel is created.
the type of the message created by the task.
the executor that executes the task and produces a result.
the task that is executed asynchronously by the executor.
a result channel that produces the result of the task
Consume the results of a list of result channels in parallel and return them as a list.
Consume the results of a list of result channels in parallel and return them as a list. If one result channel fails, all the other results are poisoned and a single signal corresponding to the exception is raised.
a list of result channels.
the list of results. Results occur in the same as the order as the channels that produced them.
Create a result channel that returns a message immediately.
Create a result channel that returns a message immediately.
the type of the message.
the message returned by the channel.
a result channel that produces the message a
Factory methods for RIChan and extra DSL support like
callcc
andparl
(seeChameneosRedux
example inmolecule-core-examples
).