CellBase class abstract
The foundational abstract implementation of the Cell interface.
CellBase provides the essential plumbing for a reactive cell, handling
state storage, graph connection initialization, and the command execution
lifecycle. It serves as the backbone for concrete cell implementations,
reducing boilerplate code.
When to use
You don't use this directly – it's the base class for all concrete
Cell implementations. Subclasses like _Cell, _OpenCell, and
SynthesisCell extend it.
How it works
- Implemented types
- Available extensions
Constructors
-
CellBase({EphemeralPolicy<
Cell> ? ephemeralPolicy, Cell? bind, Context context = Context.system, Receptor<Cell> receptor = Receptor.passThrough, TestCell<Cell> testRule = TestCell.allowAll, Synapses<Pulse, Cell> synapses = Synapses.enabled}) - Initializes a new cell instance with specific behaviors and connections.
- CellBase.fromNucleus(Nucleus nucleus)
- Initializes a CellBase instance using a pre-configured Nucleus blueprint, formally integrating it into the reactive data-flow graph.
Properties
-
async
→ ModifiableAsync<
Cell> -
Provides a high-level, asynchronous interface for interacting with this
Cellnode.no setteroverride - context → Context
-
The operational Context defining the forensic identity, administrative
authority, and causal lineage of this specific Cell handle.
no setteroverride
- hashCode → int
-
Returns a hash code for this Cell derived from its Root Genotypic Identity.
no setteroverride
- id → String
-
Wire identity. Delegates to the nucleus so deputies and their principal
share one id unless a graph registration overrides it.
no setteroverride
- isGoverned → bool
-
Indicates whether this node is subject to active Administrative Oversight
or specialized Lifecycle Governance.
no setteroverride
- isInvalidated → bool
-
Indicates whether this Cell has initiated its Automatic Termination
sequence and is currently in the process of being neutralized.
no setteroverride
- isTerminal → bool
-
A boolean indicator identifying whether this Cell acts as a
Processing Sink within the reactive topology.
no setteroverride
- lock → Lock?
-
The synchronization Lock owned by this cell's nucleus.
no setter
-
modifiable
→ Iterable<
Function> -
Defines the exhaustive whitelist of functions and commands authorized for
execution on this node via the dynamic apply method.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unmodifiable → Cell
-
Returns a read-only, reactive projection (Deputy) of this Cell.
no setteroverride
-
validate
→ TestCell<
Cell> -
The authoritative Integrity Gate governing this node's structural
boundaries and operational authority.
no setteroverride
Methods
-
apply<
R> (ApplyCommand command, {ApplyTransactionScope? tx}) → FutureOr< ApplyOutcome< R> > -
Submits an ApplyCommand to trigger a state change or an action within this cell.
override
-
command(
Function function) → ApplyCommandRunner -
Available on Cell, provided by the ApplyCommandDSL extension
Begins assembling a command that invokesfunctionon this cell. -
deputy(
{EphemeralPolicy< Cell> ? ephemeralPolicy, covariant DeputyContext context = DeputyContext.system, covariant TestCell<Cell> testRule = TestCell.allowAll, Synapses<Pulse, Cell> synapses = Synapses.enabled}) → FutureOr<Cell> -
Creates an Attenuated Proxy (Deputy) of this cell with specialized
governance and restricted authority.
override
-
filter<
S> ({required bool test(S value)}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Materializes a Predicate Integrity Gate—a specialized orchestration instruction designed to conditionally permit pulse evolution. -
fromFuture<
S> ({required Future< S> future, Duration? timeout, FutureErrorHandler? onError, bool emitErrorPulse = true}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Synthesizes a Temporal Resource Bridge from a Future. -
fromIterable<
T> ({required Iterable< T> iterable}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Synthesizes an Iterative Pulse Bridge from a dynamic iterable. -
fromStream<
S> ({required Stream< S> stream, StreamErrorHandler? onError, bool emitErrorPulse = true}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Synthesizes a Continuous Pulse Bridge from a Stream. -
map<
S, T> ({required T project(S value), MapErrorHandler? onError}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Materializes a Projective Evolution Gate—a fundamental instruction designed to transform stimulus payloads as they traverse the topography. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
of<
T> ({required Iterable< T> values}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Synthesizes a Fixed Sequence Bridge from a provided collection. -
range(
{required int start, required int count, int step = 1}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Synthesizes a Counted Pulse Generator—a specialized bridge designed to evolve a sequence of arithmetic integers. -
repeat<
T> ({required T value, int count = 1}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Synthesizes a Recursive Stimulus Bridge—a specialized generator designed to evolve the same payload multiple times. -
tap<
S> ({required void onValue(S value), TapErrorHandler? onError}) → FlowHandle -
Available on Cell, provided by the CellFlowOperators extension
Materializes a Passive Observation Gate—a specialized orchestration instruction designed to perform side-effects without altering pulse evolution. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
Determines logical identity between two Cell nodes within the reactive graph.
override