goingAway top-level constant

const goingAway = 1001

An endpoint is "going away", such as a server going down or a browser having navigated away from a page.

Implementation

const goingAway = 1001