view Platforms/Wasm/WasmDelayedCallExecutor.js @ 1120:11b7785dd01b

This cpp file leads the optimizer bugging off out of the Solar System
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 05 Nov 2019 16:30:45 +0100
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);
  }
});