Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1293:f050391249f0
Merged changes from bugfix branch
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 21 Feb 2020 15:27:42 +0100 |
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); } });