view Platforms/Wasm/WasmDelayedCallExecutor.js @ 526:548eed46f535 dev

introduced a Logger class that displays timing and source (C++/JS)
author Alain Mazy <alain@mazy.be>
date Thu, 14 Mar 2019 19:04:35 +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);
  }
});