Add comment

This commit is contained in:
jlkiri 2020-12-27 21:44:45 +09:00
parent c41f4332c7
commit 134c767484
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ const {
MessageChannel,
} = require("worker_threads");
// See https://giuseppegurgone.com/synchronizing-async-functions/
function wait_highlight(...args) {
const worker = new Worker("./highlight_worker.js");
const signal = new Int32Array(new SharedArrayBuffer(4));