class Celluloid::Call::Async
Asynchronous calls don't wait for a response
Public Instance Methods
dispatch(obj)
click to toggle source
Calls superclass method
Celluloid::Call#dispatch
# File lib/celluloid/call/async.rb, line 5 def dispatch(obj) Internals::CallChain.current_id = Celluloid.uuid super(obj) rescue AbortError => ex # Swallow aborted async calls, as they indicate the sender made a mistake Internals::Logger.debug("#{obj.class}: async call `#{@method}` aborted!\n#{Internals::Logger.format_exception(ex.cause)}") ensure Internals::CallChain.current_id = nil end