Module: Kernel

Defined in:
lib/go/kernel.rb

Instance Method Summary collapse

Instance Method Details

#go(ch = nil, &blk) ⇒ Object



22
23
24
25
# File 'lib/go/kernel.rb', line 22

def go(ch=nil, &blk)
  future = ::Go.gok.executor.execute(nil, ch, &blk)
  future
end