TestSignalRuleType<C extends Cell> typedef

TestSignalRuleType<C extends Cell> = bool Function(Signal signal, {C? cell, dynamic user})

Function signature for validating signals received by cells.

Parameters:

  • signal: The incoming signal
  • cell: The cell receiving the signal (optional)
  • user: Optional user context

Returns true if the signal is valid, false otherwise

Implementation

typedef TestSignalRuleType<C extends Cell> = bool Function(Signal signal, {C? cell, dynamic user});