Method: Green#join

Defined in:
lib/green.rb

#joinObject



178
179
180
181
182
# File 'lib/green.rb', line 178

def join
  g = Green.current
  callback { |res| Green.hub.callback { g.switch(res) } }
  Green.hub.switch
end