class Marmot::OnChannelTask(T)
- Marmot::OnChannelTask(T)
- Marmot::Task
- Reference
- Object
Defined in:
tasks.crConstructors
Instance Method Summary
-
#value : T | Nil
Gets the value received on the channel.
Constructor Detail
Instance Method Detail
def value : T | Nil
#
Gets the value received on the channel.
If the channel is closed a nil
value will saved here, and the task will
run one last time.