closeDocumentAsync
closeDocumentAsync<
DocType,ChangesType,ChangeFnType,PrivateKey,PublicKey,DocumentKey,RootStateType>(documentId,selectPeerborneState?):ThunkAction<Promise<void>,RootStateType,unknown,CloseDocumentAction|SyncDocumentAction<DocType>>
Defined in: packages/redux/src/actions.ts:332
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
selectPeerborneState?
Section titled “selectPeerborneState?”(rootState) => PeerborneState<DocType, ChangesType, ChangeFnType, PrivateKey, PublicKey, DocumentKey>
Returns
Section titled “Returns”ThunkAction<Promise<void>, RootStateType, unknown, CloseDocumentAction | SyncDocumentAction<DocType>>