view Platforms/Wasm/WasmDelayedCallExecutor.js @ 456:b70fcc134ba4

moved LambdaCallable (currently still disable because it does not work in WASM)
author Alain Mazy <alain@mazy.be>
date Wed, 23 Jan 2019 13:58:51 +0100
parents 26b90b110719
children 5055031f4a06
line wrap: on
line source

mergeInto(LibraryManager.library, {
  WasmDelayedCallExecutor_Schedule: function(callable, timeoutInMs/*, payload*/) {
    setTimeout(function() {
      WasmDelayedCallExecutor_ExecuteCallback(callable/*, payload*/);
    }, timeoutInMs);
  }
});