view Platforms/Wasm/WasmDelayedCallExecutor.js @ 497:d79f78971fae bgo-commands-codegen

Fixed cmake (removed missing useless file)
author bgo-osimis
date Sun, 24 Feb 2019 10:11: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);
  }
});