It sounds like a go-block that takes from a collection of channels,
building up a collection of values and returning it. It will recur and
block until all the channels have delivered a value.

I'm not sure if there's a built-in for this, but it would be
straight-forward. Since go-blocks themselves return channels, you would
simple take from that to receive the values and time the last action.

On Sunday, August 31, 2014, stephanos <[email protected]> wrote:

> Hi there,
>
> I'm learning ClojureScript, core.async and Om at the moment for my
> upcoming project. Reading a lot about Facebook's Flux makes me wonder how
> to incorporate its ideas.
>
> Facebook has released Flux's dispatcher (
> http://facebook.github.io/flux/docs/dispatcher.html) and basically it
> looks like core.async already does most of it already out of the box.
>
> But I'm struggling with the dispatcher's concept of 'waitFor' ("Waits for
> the callbacks specified to be invoked before continuing execution of the
> current callback").
>
> I don't understand core.async well enough yet to see how I might implement
> this concept. Any pointers?
>
> PS: The article 'Om and Flux (An Ongoing Experiment)' (
> https://justin.harmonize.fm/development/2014/08/05/om-and-flux.html)
> helped me a lot.
>
> Regards
> Stephan
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:;>.
> To post to this group, send email to [email protected]
> <javascript:;>.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" 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].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to