view Platforms/Wasm/WasmDelayedCallExecutor.js @ 489:f6b7f113cf27 bgo-commands-codegen

Ongoing work on code generation
author bgo-osimis
date Mon, 18 Feb 2019 07:46:59 +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);
  }
});