<<
I found that I had to stub the setTimeout function in google Closure to
make core.async channels work:
goog.global.setTimeout = function(cb, t) {
cb();
}
After that, they seem to work correctly under Nashorn (for a simple Om
server-side app)
>>
More on this here:
http://dev.clojure.org/jira/browse/ASYNC-110?focusedCommentId=37628&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
On Wed, Feb 11, 2015 at 1:19 AM, Pieter van Prooijen <[email protected]>
wrote:
> Hi,
>
> I found that I had to stub the setTimeout function in google Closure to
> make core.async channels work:
>
> goog.global.setTimeout = function(cb, t) {
> cb();
> }
>
> After that, they seem to work correctly under Nashorn (for a simple Om
> server-side app)
>
> Regards,
>
> Pieter
>
> --
> 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.