summaryrefslogtreecommitdiff
path: root/cli/js/timers.ts
AgeCommit message (Collapse)Author
2020-03-11reorg: cli/js/compiler/, move more API to cli/js/web/ (#4310)Bartek Iwańczuk
- moves compiler implementation to "cli/js/compiler/" directory - moves more APIs to "cli/js/web": * "console.ts" * "console_table.ts" * "performance.ts" * "timers.ts" * "workers.ts" - removes some dead code from "cli/js/"
2020-03-09reorg: move JS ops implementations to cli/js/ops/, part 2 (#4283)Bartek Iwańczuk
Following JS ops were moved to separate files in cli/js/ops directory: - io - process - worker_host - web_worker - plugins - timers - signal - permissions
2020-03-08reorg: move JS ops implementations to cli/js/ops/, part 1 (#4264)Bartek Iwańczuk
Following JS ops were moved to separate files in cli/js/ops directory: - compiler - dispatch_json - dispatch_minimal - errors - fetch - fs_events - os - random - repl - resources - runtime_compiler - runtime - tty
2020-03-03add assertOps sanitizer in cli/js/ unit tests (#4209)Bartek Iwańczuk
* add "assertOps" test assertion which makes sure test case is not "leaking" ops - ie. after test finishes there are no pending async ops * apply "assertOps" to all tests in "cli/js/" * fix numerous tests leaking ops * document problem with edge case in "clearInterval" and "clearTimeout" implementation where they may leak async ops * move "cli/js/worker_test.ts" to "cli/tests/worker_test.ts" and run as integration test; workers leak ops because of missing "terminate" implementation
2020-02-25Clean up how we use opIds (#4118)Ryan Dahl
2020-01-20Use globalThis to reference global scope (#3719)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-01-02Happy new year! (#3578)Ry Dahl
2019-12-10timer: due/now Math.max instead of min (#3477)Kevin (Kun) "Kassimo" Qian
2019-12-03Timer/microtask ordering fix (#3439)Kevin (Kun) "Kassimo" Qian
2019-10-31cli: replace timer map with red-black tree (#3218)Kevin (Kun) Kassimo Qian
This avoids a crash when the Deno process has been running for 2**32 ms (about 50 days). Additionaly, time complexity of finding which timer is due to fire next is reduced from from O(n) to O(log n).
2019-10-19Fix clearTimer bug (#3143)Ry Dahl
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl