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:88

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

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:90

Milliseconds to wait before rejecting.

Released under the MIT License.