view Platforms/Wasm/WasmDelayedCallExecutor.js @ 478:017a66a2999b am-touch-events

cleanup + avoid conversions
author am@osimis.io
date Wed, 13 Feb 2019 14:12:41 +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);
  }
});