Class: Going::Push
Instance Attribute Summary
Attributes inherited from Operation
Instance Method Summary collapse
Methods inherited from Operation
#incomplete?, #initialize, #signal, #wait
Methods included from BooleanAttrReader
Constructor Details
This class inherits a constructor from Going::Operation
Instance Method Details
#close ⇒ Object
8 9 10 11 12 13 |
# File 'lib/going/operation/push.rb', line 8 def close super select_statement.secondary_complete do fail 'cannot push to a closed channel' end end |
#complete ⇒ Object
3 4 5 6 |
# File 'lib/going/operation/push.rb', line 3 def complete super select_statement.complete(&on_complete) end |