Function unsubscribe

  • Remove the given subscriber. Remove all if no subscriber provided.

    Type Parameters

    • TValue

    Parameters

    • val: ReadonlyVal<TValue>
    • Optional subscriber: ((...args) => any)
        • (...args): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    Returns void