draining

open external val draining: Promise<Void>(source)

The draining read-only property of the WebTransport interface returns a Promise that fulfills when the server indicates that it would like the transport session to start draining, prior to closing it.

MDN Reference