view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1334:04055b6b9e2c broker

Added header files to the CMake files to ease navigation in IDE.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 31 Mar 2020 11:01:34 +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);
  }
});