Mercurial > hg > orthanc-stone
view Deprecated/Platforms/Wasm/WasmDelayedCallExecutor.js @ 1474:d1dde1f86d4a
fix build of wasm samples
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Jun 2020 18:21:34 +0200 |
parents | 419d0320c344 |
children |
line wrap: on
line source
mergeInto(LibraryManager.library, { WasmDelayedCallExecutor_Schedule: function(callable, timeoutInMs/*, payload*/) { setTimeout(function() { window.WasmDelayedCallExecutor_ExecuteCallback(callable/*, payload*/); }, timeoutInMs); } });