pub struct NodeOpts {
pub factory: Option<String>,
pub pool: PoolKind,
pub pausable: Pausable,
pub partial: bool,
pub pull_id: Option<LockId>,
pub complete_when_deps_complete: bool,
pub error_when_deps_error: bool,
pub terminal_as_real_input: bool,
pub versioning: Option<NodeVersioningPolicy>,
}Expand description
Node construction options (substrate-level). Sugar/operator opts are the graph layer (D6/D24); this is the minimal substrate surface needed to select a pool (D20), a pause mode (R-pause-modes), and the dep-terminal propagation policy (R-deps-terminal).
Fields§
§factory: Option<String>Real factory name for graph-less nodes that describe auto-discovers (D43/D51).
Registered graph entries still carry their own graph-layer factory string.
pool: PoolKindThe dispatch pool (default LocalSync, R-sync-core).
pausable: PausableThe pause mode (default true, R-pause-modes).
partial: boolFirst-run gate override: allow fn execution with SENTINEL deps (graph-layer partial combinators / pull consumers). Default false.
pull_id: Option<LockId>Pull-mode node id (R-pull / D269). When present, the node starts quiet; a routed PULL({pullId, params?}) of the same id demands one delivery.
complete_when_deps_complete: boolAuto-emit COMPLETE when ALL deps complete (default true; combineLatest
semantics — ALL not ANY). last/reduce/*Map set false to ABSORB inner
terminals (R-deps-terminal).
error_when_deps_error: boolAuto-emit ERROR when ANY dep errors (default true). rescue/catch set false.
terminal_as_real_input: boolA dep’s terminal is a REAL INPUT the fn reads (rescue/reduce/*Map) rather than an
absorbed settle — when set, the fn re-runs on a dep terminal and the first-run
gate treats a terminated dep as settled (R-deps-terminal). Default false.
versioning: Option<NodeVersioningPolicy>D109 node runtime versioning policy. None means the package default V0; graph-owned
nodes may inherit a graph default before construction.