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:112

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:116

Optional drain lane. Defaults to "default".


priority?​

readonly optional priority?: number

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

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:114

Optional source the target consumes from. A literal name (no ^ at the start or $ at the end) 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 an anchor (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:113

Stream name that processes this reaction