Class: Celluloid::AsyncCall

Inherits:
Call
  • Object
show all
Defined in:
lib/lspace/celluloid.rb

Instance Method Summary collapse

Methods inherited from Call

#initialize, #initialize_without_lspace

Constructor Details

This class inherits a constructor from Celluloid::Call

Instance Method Details

#dispatch(*args, &block) ⇒ Object



25
26
27
# File 'lib/lspace/celluloid.rb', line 25

def dispatch(*args, &block)
  LSpace.enter(@lspace) { dispatch_without_lspace(*args, &block) }
end

#dispatch_without_lspaceObject



23
# File 'lib/lspace/celluloid.rb', line 23

alias_method :dispatch_without_lspace, :dispatch