Skip to content

Intermact API Reference / @intermact/render-three / ResultFor

Type Alias: ResultFor<K>

ResultFor<K> = Extract<ComputeResult, { kind: K; }>

Defined in: worker/protocol.ts:51

Narrow a ComputeResult to the variant produced by job kind K.

Type Parameters

K

K extends ComputeJob["kind"]

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)