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?
readonlyoptionalattempt?:number
connectionId
readonlyconnectionId:string
delayMs?
readonlyoptionaldelayMs?:number