interface EventLogConnector

Factory for creating event log connections.

Connectors manage connection lifecycle and produce adapter instances. Use connectors in production code to properly manage resources.

Type Parameters

Cursor = string

Methods

Connect to the event log.

end(): Promise<void>

End the connector and release all resources.

After calling end(), all adapters created by this connector become invalid and subsequent connect() calls will fail.

Usage

import { type EventLogConnector } from ".";