collect
@rotorsoft/act-root / act-tck/src / collect
Function: collect()
collect(
store,query):Promise<CommittedCounterEvent[]>
Defined in: libs/act-tck/src/fixtures/helpers.ts:78
Drain a query call into an array. Convenience wrapper for assertions.
Parametersโ
storeโ
queryโ
Readonly<{ after?: number; backward?: boolean; before?: number; correlation?: string; created_after?: Date; created_before?: Date; limit?: number; names?: string[]; stream?: string; stream_exact?: boolean; with_snaps?: boolean; }> | undefined
Returnsโ
Promise<CommittedCounterEvent[]>