1. No, but there are Fibers
2. Yes, with Fibers.

But you should know that this approach is considered as heresy by righteous 
node.js developers ;)

On Sunday, 11 May 2014 16:21:54 UTC+4, Massimiliano Tomassoli wrote:
>
> Hi everyone,
> I'd like to port a Dart library to node.js (
> https://github.com/mtomassoli/golib) but I don't know much about node.js.
> I have some questions:
>
>    1. Do you already have goroutines and channels in node.js?
>    2. Can I use *yield*?
>    3. How can I add a function to the event loop? (I'll need to emulate 
>    Dart's completers)
>    4. What's the structure of a node.js library/module? Any links?
>
> Thanks.
>
>
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/86d11921-d1bc-421b-b20f-651d5ff3dbe8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to