view Platforms/Wasm/WasmDelayedCallExecutor.js @ 459:dc091ca6fd5f am-touch-events

clarify emsdk build options + added optimizations
author Alain Mazy <alain@mazy.be>
date Tue, 29 Jan 2019 18:16:38 +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);
  }
});