view Platforms/Wasm/WasmDelayedCallExecutor.js @ 878:8f7930f589ef am-dev

comments
author Alain Mazy <alain@mazy.be>
date Wed, 03 Jul 2019 10:26:51 +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);
  }
});