Return a result or a signal on the channel.
Return a result or a signal on the channel.
the result that is either a signal or a value.
unit
Return a signal on the channel.
Return a signal on the channel.
unit
A mysterious contravariant flatMap method
Create a new channel interface that applies a function to the value returned.
Create a new channel interface that applies a function to the value returned.
Like for stream channels, the thread that will execute the map function is undefined. Therefore, map function is supposed to be "pure".
the function applied to the result passed to this channel in case of success.
A new channel interface obtained that applies f
to the result
that is passed to it in case of success.
Return a value on the channel.
Return a value on the channel.
the value that must be returned.
unit
"Result", "reply" or "response" output channel interface.
As opposed to a generic OChan, this channel interface can output only a single message, which is either success or failure.
the type of the message returned by the channel