Hyperlinkv0.9.0-beta.0

WorkPool

WorkPool.PriorityTagConfiginterfacesrc/WorkPool.ts:1759
PriorityTagConfig<F, Success>

WorkPool.priority tag config — config object only (no positional schemas). payload is the item schema; laneCount is the number of priority lanes; namedLanes maps names → lane indices. Optional success / error wire slots match WorkPool.Tag (stamped for engine + store).

modelsWorkPool.Tag
Source src/WorkPool.ts:175912 lines
export interface PriorityTagConfig<
  F extends Schema.Struct.Fields,
  Success extends Schema.Top = typeof Schema.Void,
> {
  readonly payload: Schema.Struct<F>;
  readonly laneCount: number;
  readonly namedLanes?: Readonly<Record<string, number>>;
  readonly success?: Success;
  readonly error?: Schema.Top;
  readonly description?: string;
  readonly node?: NodeKey<unknown>;
}
Referenced by 1 symbols