view Platforms/Wasm/WasmDelayedCallExecutor.js @ 433:8999823db8b8 am-vsol-upgrade

fix SetSize in SDL
author am@osimis.io
date Mon, 03 Dec 2018 14:22:47 +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);
  }
});