Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 440:a750f11892ec am-vsol-upgrade
merge default->am-vsol-upgrade
author | amazy |
---|---|
date | Fri, 28 Dec 2018 10:40:34 +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); } });