I suppose so, just using an async block just seems cleaner and simpler to me and you're not modifying a type you don't control - not a big deal in tests but you never know.
David On Mon, Jan 5, 2015 at 9:12 PM, James MacAulay <[email protected]> wrote: > On Monday, 5 January 2015 20:00:17 UTC-5, David Nolen wrote: > > That can't actually work since the go block doesn't receive the done > > fn to proceed to the next test. > > I was thinking of something like: > > (extend-type ManyToManyChannel > IAsyncTest > (-invoke [ch done] > (take! ch (fn [_] (done))))) > > Wouldn't that work? > > -- > 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. > -- 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.
