view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1330:a72c2c9af49a

minimal option for GetSceneExtent, especially for masks
author Alain Mazy <alain@mazy.be>
date Mon, 30 Mar 2020 09:51:01 +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);
  }
});