view Platforms/Wasm/WasmDelayedCallExecutor.js @ 868:b7f3cd9efe6f

Added tag toa2019062502 for changeset fe96057e97b9
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 25 Jun 2019 18:04:09 +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);
  }
});