GraphiQL API Documentation
    Preparing search index...

    Type Alias Observable<T>

    type Observable<T> = {
        subscribe(
            opts: {
                complete: () => void;
                error: (error: any) => void;
                next: (value: T) => void;
            },
        ): Unsubscribable;
        subscribe(
            next: (value: T) => void,
            error: null | undefined,
            complete: () => void,
        ): Unsubscribable;
        subscribe(
            next?: (value: T) => void,
            error?: (error: any) => void,
            complete?: () => void,
        ): Unsubscribable;
    }

    Type Parameters

    • T
    Index

    Methods

    Methods

    • Parameters

      • opts: { complete: () => void; error: (error: any) => void; next: (value: T) => void }

      Returns Unsubscribable

    • Parameters

      • next: (value: T) => void
      • error: null | undefined
      • complete: () => void

      Returns Unsubscribable

    • Parameters

      • Optionalnext: (value: T) => void
      • Optionalerror: (error: any) => void
      • Optionalcomplete: () => void

      Returns Unsubscribable