view Platforms/Wasm/WasmDelayedCallExecutor.js @ 606:d9c0a66304cb

Scene2D::ReleaseLayer()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Apr 2019 15:29:53 +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);
  }
});