Type Alias Closed

Closed: { closed: Promise<void> }

A type that reports via a promise when an object such as a connection or subscription closes.

Type declaration

  • closed: Promise<void>

    A promise that when resolves, indicates that the object is closed.