Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / HistoryStatus

Type Alias: HistoryStatus ​

HistoryStatus = "saved" | "result" | "abandoned"

Defined in: packages/ts-sdk/src/generated/types/common.ts:2605

Durable history entry status.

Lives here rather than the server-protocol-gated history module because MatchRuntimeRecord embeds it in every build, including wasm and bench.

Example:

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

const historyStatus: HistoryStatus = "saved"

console.log(historyStatus)

Released under the MIT License.