TaskQueue: support canceling a single task

This commit is contained in:
Christopher Willis-Ford 2019-02-12 17:37:04 -08:00
parent d27dc5d54a
commit 2a9a3b11b9
4 changed files with 122 additions and 47 deletions
test/unit

View file

@ -16,6 +16,8 @@ test('spec', t => {
t.type(timer.clearTimeout, 'function');
// A few members of MockTimer have no Timer equivalent and should only be used in tests.
t.type(timer.advanceMockTime, 'function');
t.type(timer.advanceMockTimeAsync, 'function');
t.type(timer.hasTimeouts, 'function');
t.end();