lib/celluloid/actor.rb in celluloid-0.17.1.1 vs lib/celluloid/actor.rb in celluloid-0.17.1.2
- old
+ new
@@ -216,10 +216,11 @@
# Wait for the given signal
def wait(name)
@signals.wait name
end
-
+
+ # Register a new handler for a given pattern
def handle(*patterns, &block)
@handlers.handle(*patterns, &block)
end
# Receive an asynchronous message