Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 723:562cdd083b9e
Merge from default
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 21 May 2019 10:28:43 +0200 |
parents | 5055031f4a06 |
children |
line wrap: on
line source
mergeInto(LibraryManager.library, { WasmDelayedCallExecutor_Schedule: function(callable, timeoutInMs/*, payload*/) { setTimeout(function() { window.WasmDelayedCallExecutor_ExecuteCallback(callable/*, payload*/); }, timeoutInMs); } });