Function useChangeSubject

Creates a subject that emits the given value whenever it changes.

  • Type Parameters

    • T = undefined

      The type of the value to be emitted by the subject.

    Parameters

    • value: T

      The initial value of the subject.

    Returns Subject<T>

    • The subject that emits the value whenever it changes.