Type alias Activator<TValue>

Activator<TValue>: ((this, control, role, active) => SupplyPeer)

Type Parameters

  • TValue

    Input value type.

Type declaration

    • (this, control, role, active): SupplyPeer
    • An activator signature of input control role.

      Parameters

      • this: void
      • control: InControl<TValue>

        A control the role is activated for.

      • role: string

        Activated role name.

      • active: Active

        Active control role.

      Returns SupplyPeer

      Activation supply peer. Its supply will be cut off once the role deactivated or activator removed. It is expected that this supply performs deactivation once cut off.

Generated using TypeDoc