class Raft::Goliath::EventMachineAsyncProvider

Public Instance Methods

await() click to toggle source
# File lib/raft/goliath.rb, line 199
def await
  f = Fiber.current
  until yield
    EM.next_tick {f.resume}
    Fiber.yield
  end
end