view Platforms/Wasm/WasmDelayedCallExecutor.js @ 666:daf43666bbc2

removed printf override for printf, keep it bare to metal
author Alain Mazy <alain@mazy.be>
date Wed, 15 May 2019 15:42:49 +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);
  }
});