OpenCell class abstract interface Core 16 Operators Core

A specialized, interactive Cell that serves as a Reactive Bridge for external stimulus injection and dynamic topology management.

While standard cells typically operate as passive residents within a Directed Acyclic Graph (DAG)—reacting automatically to internal state changes—an OpenCell provides the explicit interface required to integrate external events (such as UI inputs, hardware interrupts, or network packets) into the framework's internal reactive stream.

When to use

Use Cell.open to create an OpenCell when you need manual control over signal injection or topology linking.

How it works

  • receptor(pulse): manually inject a pulse into the cell.
  • link(cell): attach a downstream observer.
  • unlink(cell): remove an observer.

Non‑obvious

Even though it's "open", it is still governed by its testRule – manual pulses must pass validation.

See also:

  • Receptor: The transformation engine used by the receptor method.
  • TestCell: The validator that serves as the node's Integrity Gate.
  • Synapses: The distribution registry managed by the link method.
Implemented types

Constructors

OpenCell({EphemeralPolicy<Cell>? ephemeralPolicy, Cell? bind, Context context, Receptor<Cell> receptor, TestCell<Cell> testRule, Synapses<Pulse, Cell> synapses, bool forceLock})
Creates a standard open cell.
factory
OpenCell.governed({EphemeralPolicy<Cell>? ephemeralPolicy, Cell? bind, Context context, Receptor<Cell> receptor, TestCell<Cell> testRule, Synapses<Pulse, Cell> synapses, bool forceLock})
factory

Properties

async OpenCellAsync
Provides the Asynchronous Governance Interface for this OpenCell.
no setteroverride
context Context
The operational Context defining the forensic identity, administrative authority, and causal lineage of this specific Cell handle.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isGoverned bool
Indicates whether this node is subject to active Administrative Oversight or specialized Lifecycle Governance.
no setterinherited
isInvalidated bool
Indicates whether this Cell has initiated its Automatic Termination sequence and is currently in the process of being neutralized.
no setterinherited
isTerminal bool
A boolean indicator identifying whether this Cell acts as a Processing Sink within the reactive topology.
no setterinherited
modifiable Iterable<Function>
Defines the exhaustive whitelist of functions and commands authorized for execution on this node via the dynamic apply method.
no setterinherited
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 setterinherited
validate TestCell<Cell>
The authoritative Integrity Gate governing this node's structural boundaries and operational authority.
no setterinherited

Methods

apply(Function function, {List? positionalArguments, Map<Symbol, dynamic>? namedArguments, ApplyTransactionScope? tx, Function? compensate, List? compensatePositional, Map<Symbol, dynamic>? compensateNamed, Cell? compensateCell}) → dynamic
Executes a State Transition or arbitrary logic via the Command Pattern gateway.
inherited
deputy({covariant DeputyContext context = DeputyContext.system, covariant TestCell<Cell> testRule = TestCell.allowAll, EphemeralPolicy<Cell>? ephemeralPolicy, Synapses<Pulse, Cell> synapses = Synapses.enabled}) OpenCell
Synthesizes a specialized Deputy Mandate for this OpenCell, providing a scoped and governed interface to the underlying reactive node while preserving its native Open capabilities.
override
emit(Pulse pulse) FutureOr<Pulse?>
Injects a Pulse into the cell for processing and distribution, supporting Hybrid Convergence (Sync/Async).
ingest(Pulse pulse, {bool serializedCompletion = false}) Future<void>
Explicitly connects a downstream Cell to this node's egress stream, supporting Hybrid Convergence (Sync/Async).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

perform(Cell source, Pulse? perform(Cell on, Pulse pulse, {dynamic user}), {dynamic user, TestCell<Cell> testRule = TestCell.allowAll, Synapses<Pulse, Cell> synapses = Synapses.enabled}) OpenCell
Creates an OpenCell that encapsulates a specific functional transformation to be executed upon the ingestion of an external Pulse.