view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1174:ab3f3bb1bdb4

Merge
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 20 Nov 2019 13:25:38 +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);
  }
});