view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1126:a8c3908ecba9 broker

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Nov 2019 18:54:06 +0100
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);
  }
});