Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1010:efe1c44628a1 toa2019092003
Fixed mysterious revert of a previous change + converted a .cpp to unix LF
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 20 Sep 2019 12:41:06 +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); } });