Skip to content

Projection

API reference for Projection

@delta-base/toolkit


Interface for a projection that can handle events

TEvent extends Event

The event type(s) this projection can handle

readonly supportedEventTypes: EventTypeOf<TEvent>[]

List of event types this projection can handle

processEvents(events): Promise<void>

Process events through this projection

ReadEvent<TEvent>[]

Events to process

Promise<void>