MCPcopy Create free account
hub / github.com/coopernurse/node-pool / resolve

Method resolve

lib/Deferred.js:35–41  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

33 }
34
35 resolve(value) {
36 if (this._state !== Deferred.PENDING) {
37 return;
38 }
39 this._state = Deferred.FULFILLED;
40 this._resolve(value);
41 }
42}
43
44// TODO: should these really live here? or be a seperate 'state' enum

Callers 15

_destroyMethod · 0.45
_testOnBorrowMethod · 0.45
_trackOperationMethod · 0.45
_createResourceMethod · 0.45
releaseMethod · 0.45
destroyMethod · 0.45
validateMethod · 0.45
destroyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected