Signature
tsSignature
export type SettledRecord<B extends BehaviorRecord> = { [K in keyof B]: Result<BehaviorOutput<B[K]>, BehaviorError<B[K]> | RuntimeError>;};Imports
tsImport
import { SettledRecord } from "@/lib/flow/core/record";import { SettledRecord } from "@/lib/flow";Type Parameters
BBehavior record to inspect.
Details
`allSettled` uses this type to preserve successes, domain failures, and runtime failures for
every child behavior.
Related Symbols
allSettled
Runs keyed behaviors and collects every child result.
function
BehaviorError
Extracts the expected domain error type from a behavior.
type
BehaviorOutput
Extracts the output type from a behavior.
type
BehaviorRecord
Object map of named behaviors for `all`, `allSettled`, and `race`.
type
Result
Explicit success-or-failure outcome used throughout Flow.
type
RuntimeError
Runtime-level failure union added around every behavior's domain error type.
type
Source
tsflow/core/record.ts:79-81
export type SettledRecord<B extends BehaviorRecord> = { [K in keyof B]: Result<BehaviorOutput<B[K]>, BehaviorError<B[K]> | RuntimeError>;};