dtjm / node-multimarkdown

Native MultiMarkdown extension for Node.js
Other
35 stars 9 forks source link

Any plans for an async version that is non-blocking? #1

Closed bbailes closed 12 years ago

bbailes commented 12 years ago

Maybe I am doing something wrong, but when I throw a lot of text at the convert function, it will hang everything until it finishes.

dtjm commented 12 years ago

No, you are not doing it wrong. The function is blocking, and I currently have no plans for a async version. I'm not even sure it could be done since it relies on a synchronous call to a C++ function.

dtjm commented 12 years ago

Actually, now that I think of it, it could be done the Node.js cluster API to fork a child process.