module Readline
readline blocks the current thread, so we offload it to the blocking-ops thread pool. That way, the reactor loop can keep running while waiting for readline to return
Constants
- Worker
Public Instance Methods
readline(*args)
click to toggle source
# File lib/polyphony/adapters/readline.rb, line 14 def readline(*args) Worker.process { orig_readline(*args) } end
Also aliased as: orig_readline