On Wednesday, January 14, 2015 at 2:45:45 PM UTC-5, Amir Yasin wrote:
>
> First, thanks for the comment. It's not really a reinvention of the async
> module in that there's no "order of execution" specified by the author.
> Things get executed as data becomes available. Think of it more as "I
> need these signals to be ready and then I can transform them into this
> other set of signals". You end up in a situation where you're defining
> functions that do very specific tasks and produce output. They can be
> called multiple times if necessary within the context of producing an
> output or just once. The other part of this is that if any of them throws
> an exception or has an error you get a nice output to the console "Function
> suchAndSuch threw an exception (the exception) on inputs {a json object of
> the inputs}". Much nicer to deal with than the errors you get from
> callbacks. I'm not sure I understand what you mean by "if/when/each"
> logic. You can handle all of those in this as far as I can tell between
> producing values which get consumed by something else (each) and filtering
> via "enter" (if/when).
>
> Amir
>
Hmm. I've started reading about Functional Reactive Programming. As near
as I can tell your library resembles baconjs, but with bindings specific to
dealing with express requests. But after reading the documentation and your
comments I am still pretty lost as to how it decides what to invoke when,
and how you would handle a situation where you must iterate asynchronously
over many objects returned from a query, for instance.
--
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/26c2b0ef-490c-443e-93a5-a027473877de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.