MCPcopy Create free account
hub / github.com/IoTChainCode/itc-ts / call

Method call

src/common/ControlledPromise.ts:66–74  ·  view source on GitHub ↗

* This method executes `fn` and returns promise. While promise is pending all subsequent calls of `.call(fn)` * will return the same promise. To fulfill that promise you can use `.resolve() / .reject()` methods.

(fn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

openMethod · 0.80
closeMethod · 0.80

Calls 4

resetMethod · 0.95
_createPromiseMethod · 0.95
_callFnMethod · 0.95
_createTimerMethod · 0.95

Tested by

no test coverage detected