SignalTransform<C extends Cell, I extends Signal, O extends Signal> typedef
SignalTransform<C extends Cell, I extends Signal, O extends Signal> =
O? Function({required C cell, required I signal, dynamic user})
Function signature for transforming signals in receptors.
Parameters:
- cell: The cell processing the signal
- signal: The incoming signal
- user: Optional user context
Returns a transformed signal or null if processing should stop
Implementation
typedef SignalTransform<C extends Cell, I extends Signal, O extends Signal> = O? Function(
{required C cell, required I signal, dynamic user});