Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 655:1e26bb5f2a02
Fixed truncating conversion warnings + fixed deletion of incomplete type
(seemingly due to M$ auto_ptr implementation)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 14 May 2019 13:51:32 +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); } });