promiseAnd

apiDocs


near-sdk-js v2.0.0 / api / promiseAnd

Function: promiseAnd()

promiseAnd(...promiseIndexes): PromiseIndex

Join an arbitrary array of NEAR promises.

Parameters

• ...promiseIndexes: PromiseIndex[]

An arbitrary array of NEAR promise indexes to join.

Returns

PromiseIndex

Defined in

packages/near-sdk-js/src/api.ts:535

Last updated