MCPcopy Create free account
hub / github.com/75team/SublimeJS / assimilate

Function assimilate

SublimeJS/js/when.js:471–475  ·  view source on GitHub ↗

* Safely assimilates a foreign thenable by wrapping it in a trusted promise * @param {function} untrustedThen x's then() method * @param {object|function} x thenable * @returns {Promise}

(untrustedThen, x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

coerceFunction · 0.85

Calls 1

promiseFunction · 0.85

Tested by

no test coverage detected