chainStream<S2> method
Starts the result stream built from the success value.
If the task fails, the stream emits its failure and closes. Each run of the stream runs the task again. The task and the inner stream are inner runs (see Mallard), so only the stream callbacks report, including the task's failure.
Implementation
ResStream<S2, F> chainStream<S2>(ResStream<S2, F> Function(S ok) stream) =>
ResStream._(
_task.chainStream(stream as t.ResultStream<S2, F> Function(S)),
);