view Platforms/Wasm/WasmDelayedCallExecutor.js @ 985:bb13876e529a

Added tag toa2019090602 for changeset 35ed6812d639
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 06 Sep 2019 11:47:21 +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);
  }
});