initializeAsync
initializeAsync<
DocType,ChangesType,ChangeFnType,PrivateKey,PublicKey,DocumentKey,RootStateType>(config?,selectPeerborneState?):ThunkAction<Promise<Peerborne<DocType,ChangesType,ChangeFnType,PrivateKey,PublicKey,DocumentKey>>,RootStateType,unknown,PeerConnectAction|PeerDisconnectAction|InitializeAction<DocType,ChangesType,ChangeFnType,PrivateKey,PublicKey,DocumentKey>>
Defined in: packages/redux/src/actions.ts:24
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”config?
Section titled “config?”PeerborneConfig | undefined
selectPeerborneState?
Section titled “selectPeerborneState?”(rootState) => PeerborneState<DocType, ChangesType, ChangeFnType, PrivateKey, PublicKey, DocumentKey>
Returns
Section titled “Returns”ThunkAction<Promise<Peerborne<DocType, ChangesType, ChangeFnType, PrivateKey, PublicKey, DocumentKey>>, RootStateType, unknown, PeerConnectAction | PeerDisconnectAction | InitializeAction<DocType, ChangesType, ChangeFnType, PrivateKey, PublicKey, DocumentKey>>