MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / getThen

Function getThen

libraries/p5.js:253–260  ·  view source on GitHub ↗
(promise)

Source from the content-addressed store, hash-verified

251}
252
253function getThen(promise) {
254 try {
255 return promise.then;
256 } catch (error) {
257 GET_THEN_ERROR.error = error;
258 return GET_THEN_ERROR;
259 }
260}
261
262function tryThen(then, value, fulfillmentHandler, rejectionHandler) {
263 try {

Callers 2

_resolveFunction · 0.85
p5.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected