Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 446:3fd8e4e5f93e
changed path to emsdk (it shall now be in ~/apps instead of ~/Downloads)
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 16 Jan 2019 18:50:59 +0100 |
parents | 26b90b110719 |
children | 5055031f4a06 |
line wrap: on
line source
mergeInto(LibraryManager.library, { WasmDelayedCallExecutor_Schedule: function(callable, timeoutInMs/*, payload*/) { setTimeout(function() { WasmDelayedCallExecutor_ExecuteCallback(callable/*, payload*/); }, timeoutInMs); } });