view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1112:d33ae2b0db9d

less logs + allow changing the size of the RadiographyLayer (to replace a low res image by a high res image)
author Alain Mazy <alain@mazy.be>
date Mon, 04 Nov 2019 12:46:53 +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);
  }
});