changeDocumentAsync
changeDocumentAsync<
DocType,ChangesType,ChangeFnType,PrivateKey,PublicKey,DocumentKey,RootStateType>(documentId,changeFn,message?,selectPeerborneState?):ThunkAction<Promise<DocType>,RootStateType,unknown,ChangeDocumentAction<DocType>>
Defined in: packages/redux/src/actions.ts:402
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”documentId
Section titled “documentId”string
changeFn
Section titled “changeFn”ChangeFnType
message?
Section titled “message?”string
selectPeerborneState?
Section titled “selectPeerborneState?”(rootState) => PeerborneState<DocType, ChangesType, ChangeFnType, PrivateKey, PublicKey, DocumentKey>
Returns
Section titled “Returns”ThunkAction<Promise<DocType>, RootStateType, unknown, ChangeDocumentAction<DocType>>