Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 443:e9f84e52aad2 am-vsol-upgrade
Close branch am-vsol-upgrade
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 16 Jan 2019 16:10:16 +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); } });