connectAsync
connectAsync<
DocType,ChangesType,ChangeFnType,PrivateKey,PublicKey,DocumentKey,RootStateType>(addresses,selectPeerborneState?):ThunkAction<Promise<void>,RootStateType,unknown,ConnectAction>
Defined in: packages/redux/src/actions.ts:139
Type Parameters
Section titled “Type Parameters”DocType
Section titled “DocType”DocType
ChangesType
Section titled “ChangesType”ChangesType
ChangeFnType
Section titled “ChangeFnType”ChangeFnType
PrivateKey
Section titled “PrivateKey”PrivateKey
PublicKey
Section titled “PublicKey”PublicKey
DocumentKey
Section titled “DocumentKey”DocumentKey
RootStateType
Section titled “RootStateType”RootStateType = PeerborneState<DocType, ChangesType, ChangeFnType, PrivateKey, PublicKey, DocumentKey>
Parameters
Section titled “Parameters”addresses
Section titled “addresses”string[]
selectPeerborneState?
Section titled “selectPeerborneState?”(rootState) => PeerborneState<DocType, ChangesType, ChangeFnType, PrivateKey, PublicKey, DocumentKey>
Returns
Section titled “Returns”ThunkAction<Promise<void>, RootStateType, unknown, ConnectAction>