interface BotEventEmitterOptions

Options for the bot event emitter.

Properties

strategy?: string

How the bot will receive and emit events.

Default: EventStrategy.Polling

pollingInterval?: number

The interval in seconds at which the bot will poll the notifications endpoint. Only used if strategy is EventStrategy.Polling.

Default: 5

processFrom?: Date

The Date to begin processing notifications from. Only used if strategy is EventStrategy.Polling.

Default: new Date()

relayUri?: string

The Relay ("firehose") to connect to. Only used if strategy is EventStrategy.Firehose.

Default: wss://bsky.network

firehoseOptions?: FirehoseOptions

Options to pass to the Firehose constructor.