Object
Methods blocking on a call to receive
# File lib/celluloid/receivers.rb, line 48 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 55 def match(message) @block ? @block.call(message) : true end
# File lib/celluloid/receivers.rb, line 59 def resume(message = nil) @task.resume message end
[Validate]
Generated with the Darkfish Rdoc Generator 2.