Object
Methods blocking on a call to receive
# File lib/celluloid/receivers.rb, line 56 def initialize(block) @block = block @task = Task.current @timer = nil end
Match a message with this receiver's block
# File lib/celluloid/receivers.rb, line 63 def match(message) @block ? @block.call(message) : true end
# File lib/celluloid/receivers.rb, line 67 def resume(message = nil) @task.resume message end
[Validate]
Generated with the Darkfish Rdoc Generator 2.