DurableExecutionJournal overview
Added in v1.0.0
Table of contents
constructors
make
Signature
export declare const make: ({ table }: DurableExecutionJournal.MakeOptions) => any
Added in v1.0.0
context
layer
Signature
export declare const layer: (options: DurableExecutionJournal.MakeOptions) => any
Added in v1.0.0
symbols
DurableExecutionJournalTypeId
Signature
export declare const DurableExecutionJournalTypeId: typeof DurableExecutionJournalTypeId
Added in v1.0.0
DurableExecutionJournalTypeId (type alias)
Signature
export type DurableExecutionJournalTypeId = typeof DurableExecutionJournalTypeId
Added in v1.0.0
utils
DurableExecutionJournal
Signature
export declare const DurableExecutionJournal: any
Added in v1.0.0
DurableExecutionJournal (interface)
Signature
export interface DurableExecutionJournal {
readonly [DurableExecutionJournalTypeId]: DurableExecutionJournalTypeId
read<A, IA, E, IE>(
persistenceId: string,
success: Schema.Schema<A, IA>,
failure: Schema.Schema<E, IE>,
fromSequence: number,
keepReading: boolean
): Stream.Stream<DurableExecutionEvent.DurableExecutionEvent<A, E>>
append<A, IA, E, IE>(
persistenceId: string,
success: Schema.Schema<A, IA>,
failure: Schema.Schema<E, IE>,
event: DurableExecutionEvent.DurableExecutionEvent<A, E>
): Effect.Effect<void>
}
Added in v1.0.0
DurableExecutionJournal (namespace)
Added in v1.0.0
MakeOptions (interface)
Signature
export interface MakeOptions {
readonly table: string
}
Added in v1.0.0