view Platforms/Wasm/WasmDelayedCallExecutor.js @ 784:9f3b2027a4a9

DicomStructureSetLoader
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 27 May 2019 17:20:59 +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);
  }
});