Skip to main content
Version: v0.0.3

Interface: ReconnectingEvent

Payload for the 'reconnecting' event. Always Object.freeze'd.

attempt and delayMs are populated by MllpClient when it schedules a reconnect. A Connection emitting on its own supplies connectionId only.

Example

conn.on('reconnecting', ({ connectionId }) => {
logger.info(`Reconnecting connection ${connectionId}`);
});

Properties

attempt?

readonly optional attempt?: number


connectionId

readonly connectionId: string


delayMs?

readonly optional delayMs?: number