Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / MatchSessionWaitOptions

Interface: MatchSessionWaitOptions

Defined in: packages/ts-sdk/src/match-session/session-state.ts:75

Options for waiting on session snapshots.

Example:

ts
import type { MatchSessionWaitOptions } from '@my-swu/simulator-client'

const 
matchSessionWaitOptions
: MatchSessionWaitOptions = {}
console
.
log
(
matchSessionWaitOptions
)

See

https://simulator-sdk.my-swu.com/guide/match-session#waiting-for-state

Properties

timeoutMs?

Example:

ts
import type { MatchSessionWaitOptions } from '@my-swu/simulator-client'

const 
matchSessionWaitOptions
: MatchSessionWaitOptions = {}
const {
timeoutMs
} =
matchSessionWaitOptions
console
.
log
(
timeoutMs
)

optional timeoutMs?: number

Defined in: packages/ts-sdk/src/match-session/session-state.ts:77

Milliseconds to wait before rejecting.

Released under the MIT License.