Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

What's this "timers" class? #243

Open
kflynn opened this issue Aug 5, 2016 · 1 comment
Open

What's this "timers" class? #243

kflynn opened this issue Aug 5, 2016 · 1 comment

Comments

@kflynn
Copy link
Contributor

kflynn commented Aug 5, 2016

From quark_node_runtime.js in Runtime#schedule:

        if ( ms >= 1 ) {
            timers.setTimeout(function () { handler.onExecute(self); }, ms);
        }
        else {
            timers.setImmediate(function() { handler.onExecute(self); });
        }

The setImmediate call generates an Invalid calling object exception in Windows 10 Edge; why are we trying to call through timers? What is that? :)

@kflynn
Copy link
Contributor Author

kflynn commented Aug 5, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant