ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying EventStoreDBClient for anything not wrapped here.
Append one event carrying message to stream via appendToStream. The
message is turned into a JSON event (jsonEvent) with options.type
(default 'message'). Returns the driver's append result (next expected
revision, etc.).
Streams are created implicitly by the first append in EventStoreDB, so this
is a documented no-op that resolves without contacting the server. Provided
to satisfy the common store surface (alias createTopic).
Alias for createStream(), matching the common store surface.
Read events from stream into an array by draining the driver's async
iterable. Options (fromRevision, maxCount, direction, ...) are passed
straight through.
Optionaloptions: unknownSubscribe to stream with a catch-up subscription (subscribeToStream),
invoking handler once per resolved event. Returns a subscription whose
stop() ends it; it is tracked so disconnect() ends it too. The
consuming loop runs detached (not awaited); this method resolves once the
subscription is opened.
EventStoreStorewraps an@eventstore/db-clientEventStoreDBClientand exposes appending events, catch-up subscriptions, and stream reads.