MCPcopy Create free account
hub / github.com/chatbotkit/node-sdk / then

Method then

packages/sdk/src/client.js:182–200  ·  view source on GitHub ↗

* @template TResult1 * @template TResult2 * @param {((value: T) => TResult1 | PromiseLike ) | undefined | null} [onSuccess] * @param {((reason: any) => TResult2 | PromiseLike ) | undefined | null} [onFail] * @returns {Promise }

(onSuccess, onFail)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

catchMethod · 0.95
finallyMethod · 0.95
streamItFunction · 0.80
streamFunction · 0.80
useWidgetInstanceFunction · 0.80
onInitFunction · 0.80
cacheMethod · 0.80

Calls 2

getFetchPromiseMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected