Created
January 19, 2018 09:59
-
-
Save goofmint/c757c9c96f58196518fa9d285cc14fa5 to your computer and use it in GitHub Desktop.
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
onmessage = (e) => { | |
setTimeout(() => { | |
postMessage('Workerからの返信です。' + e.data); | |
}, 2000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment