view Platforms/Wasm/WasmDelayedCallExecutor.js @ 661:970949ff868a

fix warning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 May 2019 09:03:40 +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);
  }
});