A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
setTimeout(function, delay)
docs: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
I've always thought that setTimeout
would call the function when the delay was up,
maybe a little later,
but never before.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const RES_SIZE = 256 | |
const encoder = new TextEncoder('utf8') | |
var myWorker = new Worker('/worker.js') | |
console.log(myWorker) | |
const exportedMethods = { | |
hello (str) { | |
return `hello ${str}` | |
} |