view Platforms/Wasm/WasmDelayedCallExecutor.js @ 854:99628da4d846

Added tag toa2019061901 for changeset 6d15261f9c99
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 19 Jun 2019 14:10:12 +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);
  }
});