Class: Hakuban::AsyncObjectManager

Inherits:
ObjectManager show all
Defined in:
lib/hakuban/async.rb

Instance Attribute Summary

Attributes inherited from ObjectManager

#contract

Instance Method Summary collapse

Methods inherited from ObjectManager

#drop, #drop_nonblock, #initialize, #object, #objects

Constructor Details

This class inherits a constructor from Hakuban::ObjectManager

Instance Method Details

#async_join(async) ⇒ Object



12
13
14
# File 'lib/hakuban/async.rb', line 12

def async_join(async)
  async.wait
end

#async_runObject



8
9
10
# File 'lib/hakuban/async.rb', line 8

def async_run
  Async { yield }
end