Rxova
Skip to content

OpenedWindow

Type Parameter
Out extends MessageMap
In extends MessageMap
R
readonly closed: Promise<void>;

Resolves when the child window is gone (with or without a result).


readonly ready: Promise<void>;

Resolves once the child completes the ready handshake.


readonly result: Promise<R>;

The child’s finish() value. Rejects WindowClosedError / HandshakeTimeoutError.


readonly window:
| WindowLike
| null;

The opened window, or null if the popup was blocked.

close(): void;

Close the child window.

void


on<K>(type, handler): () => void;
Type Parameter
K extends string
ParameterType
typeK
handler(payload) => void

() => void


post<K>(type, payload): void;

Queued until the handshake completes — nothing is dropped while the child loads.

Type Parameter
K extends string
ParameterType
typeK
payloadOut[K]

void