view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1026:a416ce923b60

fix for ie11
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Oct 2019 11:50:34 +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);
  }
});