gradum-kit - v0.1.0
    Preparing search index...

    Function setSignal

    • Function

      setSignal

      Type Parameters

      • Type = any

        The type of the value held by the signal.

      Parameters

      • target: object

        The target to which the signal is bound.

      • key: PropertyKey

        The key of the signal inside target.

      • value: Type

        The new value of the signal.

      Returns void

      Write to a reactive property through its signal, notifying subscribers and effects.