Genel bakış
typeCore Runtime

BehaviorOutput

Extracts the output type from a behavior.

Signature

tsSignature
export type BehaviorOutput<T> =
T extends Behavior<infer _I, infer O, infer _E, infer _C> ? O : never;

Imports

tsImport
import { BehaviorOutput } from "@/lib/flow/core/runtime";
import { BehaviorOutput } from "@/lib/flow";

Type Parameters

T

Behavior type to inspect.

Behavior

Executable Flow workflow unit.

type

Source

tsflow/core/runtime.ts:73-74
export type BehaviorOutput<T> =
T extends Behavior<infer _I, infer O, infer _E, infer _C> ? O : never;