view Platforms/Wasm/WasmDelayedCallExecutor.js @ 928:1b49e78d91d0

fix for older compilers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 23 Jul 2019 11:50: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);
  }
});