Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

CallOptions.timeout in `zone.execute' should be followed more precisely #33

Open
daiyip opened this issue Aug 9, 2017 · 0 comments
Open

Comments

@daiyip
Copy link
Contributor

daiyip commented Aug 9, 2017

Code

console.time('timeout test');
zone.execute(() => { while (true) {} }, [], { timeout: 50})
    .catch((error) => {
        console.timeEnd('timeout test');
    });

Expected

timeout test: varies between 50 - 60ms

Actual

timeout test: around 50.00 ms

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

No branches or pull requests

1 participant