view Platforms/Wasm/WasmDelayedCallExecutor.js @ 482:f58fe38c8c04 bgo-commands-codegen

Ongoing work on codegen: ts and cpp enum and struct writing seem to be OK. No file write yet
author bgo-osimis
date Thu, 14 Feb 2019 20:58:42 +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);
  }
});