Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmDelayedCallExecutor.js @ 992:a9f5d0742e22
implementation of HttpCommand in WebAssemblyOracle
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 11 Sep 2019 12:31:49 +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); } });