Class: Celluloid::Promise::Reactor

Inherits:
Object
  • Object
show all
Includes:
Celluloid
Defined in:
lib/celluloid-promise/q.rb

Overview

Used to serialise the chaining of promises on a thread Allowing the promise to safely be called on any other thread

Instance Method Summary collapse

Instance Method Details

#performObject



11
12
13
# File 'lib/celluloid-promise/q.rb', line 11

def perform
	yield if block_given?
end