view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1329:8d3e669f01a2 broker

Fixed UT
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 30 Mar 2020 08:47:30 +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);
  }
});