view Platforms/Wasm/WasmDelayedCallExecutor.js @ 894:f557b18d287f

wasm: error log if canvas GL context can't be created
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 16 Jul 2019 10:51:03 +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);
  }
});