Cell constructor

Cell({
  1. Cell? bind,
  2. Receptor<Cell, Signal, Signal> receptor,
  3. TestObject<Cell> test,
  4. Synapses<Signal, Cell> synapses,
})

Creates a new Cell with optional binding and configuration

Parameters:

  • bind: Optional Cell to bind to (creates observing/chaining)
  • receptor: How this cell processes incoming signals (default: Receptor.unchanged)
  • test: TestObject that validates operations (default: TestObject.passed)
  • synapses: Whether this cell can be linked to others (default: Linkable.enabled)

Implementation

factory Cell({
  Cell? bind,
  Receptor receptor,
  TestObject test,
  Synapses synapses
}) = CellSync;