Wait for Session Ready

Manually wait for a session to be ready.

Parameters

id
stringRequired

The unique identifier of the session.

requestOptions
Windows.RequestOptions

Additional options to customize the request behavior.

timeoutInSeconds
number

The maximum time to wait for a response in seconds.

maxRetries
number

The number of times to retry the request. Defaults to 2.

abortSignal
AbortSignal

A hook to abort the request.

Returns

Returns a Promise that resolves when the session is ready