tlrobinson / narwhal

[DEPRECATED] A JavaScript standard library, package manager, and more.
http://narwhaljs.org/
372 stars 16 forks source link

REPL should be event based #68

Open kriszyp opened 14 years ago

kriszyp commented 14 years ago

Currently the narwhal/repl module blocks while waiting for input, preventing other events from taking place. http://github.com/kriszyp/narwhal/commit/e52839226df3709d9c39058603d58902db22bf56 fixes this so that the input is accepted through a worker that fires events in the main repl module, thus the event loop can run while waiting user input.