view Platforms/Wasm/WasmDelayedCallExecutor.js @ 604:86dfde451f4c

Fixed typo + added flags for MSVC in Stone Sample
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 29 Apr 2019 15:24:47 +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);
  }
});