Mercurial > hg > orthanc-stone
view Deprecated/Platforms/Wasm/WasmDelayedCallExecutor.js @ 1489:6e43cac7833c
Added public method to update canvas pixel size from CSS size
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 23 Jun 2020 15:41:52 +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); } });