- createBatch(
user: Identity,
crypto: Implementation,
opts: {
getKeyFromIndex: (
i: number,
msgs: SignedPost[],
) => Promise<null | string>;
},
msgs: { content: Content; prev?: null | SignedPost; seq?: number }[],
_out?: SignedPost[],
): Promise<SignedPost[]> Parameters
- user: Identity
- crypto: Implementation
- opts: { getKeyFromIndex: (i: number, msgs: SignedPost[]) => Promise<null | string> }
- msgs: { content: Content; prev?: null | SignedPost; seq?: number }[]
Optional
_out: SignedPost[]