Function effect

  • Define what happens when a reactive state changes

    Type Parameters

    Parameters

    • cb: EffectCallbacks<U>

      effect callback or object of ok, nil, err callbacks to be executed when a state changes

    • ...maybeSignals: U

      signals of functions using signals that should trigger the effect

    Returns void

    0.1.0

MMNEPVFCICPMFPCPTTAAATR