Type Alias SubscribeArgs<T>

SubscribeArgs:
    | [Observer<T>]
    | [(value: T) => void, (error: Error) => void?, () => void?]
    | [
        (value: T) => void
        | null
        | undefined,
        ((error: any) => void | null)?,
        (() => void | null)?,
    ]

Subscriber arguments.

Type Parameters

  • T = unknown