Skip to main content
Version: Current

Resolved

@rotorsoft/act-root


@rotorsoft/act-root / act/src / Resolved

Type Alias: Resolved<TLane>

Resolved<TLane> = object

Defined in: libs/act/src/types/reaction.ts:145

Resolver output shape โ€” what .to(...) returns for a static or dynamic resolver.

Type Parametersโ€‹

TLaneโ€‹

TLane extends string = string

Propertiesโ€‹

lane?โ€‹

readonly optional lane?: TLane

Defined in: libs/act/src/types/reaction.ts:149

Optional drain lane (ACT-1103). Defaults to "default".


priority?โ€‹

readonly optional priority?: number

Defined in: libs/act/src/types/reaction.ts:148

Optional scheduling hint. The lagging-frontier claim() orders streams by priority DESC, at ASC, so a higher value makes the stream win lease slots ahead of equal-watermark peers under saturation. Default 0 โ€” behavior identical to current dual-frontier. Only meaningful when streamLimit is binding (more candidate streams than the worker can claim per cycle); idle systems are unaffected. See libs/act-pg/PERFORMANCE.md for the benchmark that motivated this knob.


source?โ€‹

readonly optional source?: string

Defined in: libs/act/src/types/reaction.ts:147

Optional source the target consumes from. A literal name (no regex metacharacter) is matched by string equality in the store's claim/fetch path โ€” the fast, index-friendly path, and exact so "s1" never matches "s12". A name carrying regex metacharacters (e.g. ^(A|B)$) is compiled as a RegExp and matched against candidate streams with the caller's own anchoring


targetโ€‹

readonly target: string

Defined in: libs/act/src/types/reaction.ts:146

Stream name that processes this reaction