ConnectionClosedEvent | mongodb (original) (raw)

An event published when a connection is closed

Hierarchy (view full)

Index

Properties

address connectionId reason serviceId? time

Properties

address

address: string

The address (host/port pair) of the pool

connectionId

connectionId: number | ""

The id of the connection

reason

reason: string

The reason the connection was closed

OptionalserviceId

serviceId?: ObjectId

time

time: Date

A timestamp when the event was created