Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 511:2f17b3659781
ORTHANC_STONE_APPLICATION_RESOURCES in CMake
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 07 Mar 2019 11:32:39 +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); } });