ready

external val ready: Promise<Void>(source)

The ready read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.

MDN Reference