view Platforms/Wasm/WasmDelayedCallExecutor.js @ 857:0c0fc20a6902

macro ORTHANC_ENABLE_LOGGING_PLUGIN must be defined per app, not by stone
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Jun 2019 17:41:35 +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);
  }
});