diff options
Diffstat (limited to 'runtime/js/11_timers.js')
-rw-r--r-- | runtime/js/11_timers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/11_timers.js b/runtime/js/11_timers.js index 4c693aa4a..f07622388 100644 --- a/runtime/js/11_timers.js +++ b/runtime/js/11_timers.js @@ -4,7 +4,7 @@ ((window) => { const assert = window.__bootstrap.util.assert; const core = window.Deno.core; - const { sendSync } = window.__bootstrap.dispatchMinimal; + const { bufferOpSync } = window.__bootstrap.dispatchBuffer; function opStopGlobalTimer() { core.jsonOpSync("op_global_timer_stop"); @@ -20,7 +20,7 @@ const nowBytes = new Uint8Array(8); function opNow() { - sendSync("op_now", 0, nowBytes); + bufferOpSync("op_now", 0, nowBytes); return new DataView(nowBytes.buffer).getFloat64(); } |