collect
@rotorsoft/act-root / act-tck/src / collect
Function: collect()
collect(
store,query):Promise<CommittedCounterEvent[]>
Defined in: libs/act-tck/src/fixtures/helpers.ts:77
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_pii?: boolean; with_snaps?: boolean; }> | undefined
Returns
Promise<CommittedCounterEvent[]>