@my-swu/simulator-client / MatchSessionTerminalCause
Type Alias: MatchSessionTerminalCause
MatchSessionTerminalCause =
"matchNotFound"|"invalidCredentials"|"retriesExhausted"
Defined in: packages/ts-sdk/src/match-session/session-state.ts:163
Server or transport condition which stopped automatic reconnect retries.
Example:
ts
import type { MatchSessionTerminalCause } from '@my-swu/simulator-client'
// Retry budget exhaustion is terminal until the caller explicitly reconnects.
const matchSessionTerminalCause: MatchSessionTerminalCause = 'retriesExhausted'
console.log(matchSessionTerminalCause)