view Platforms/Wasm/WasmDelayedCallExecutor.js @ 640:e706188d6078

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 10 May 2019 10:57: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);
  }
});