channel property
Instructs the middleware to wait for a specified message from the provided Channel.
If the channel is already closed, then the Generator will immediately terminate
following the same process described for Take
.
If maybe is true, it does not automatically terminate the Saga on an End action. Instead all Sagas blocked on a Take Effect will get the End object. Check TakeMaybe also.
Implementation
final Channel? channel;