@types/rsvp

  • Version 4.0.9
  • Published
  • 23.5 kB
  • No dependencies
  • MIT license

Install

npm i @types/rsvp
yarn add @types/rsvp
pnpm add @types/rsvp

Overview

TypeScript definitions for rsvp

Index

Variables

variable all

const all: {
<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
values: [
RSVP.Arg<T1>,
RSVP.Arg<T2>,
RSVP.Arg<T3>,
RSVP.Arg<T4>,
RSVP.Arg<T5>,
RSVP.Arg<T6>,
RSVP.Arg<T7>,
RSVP.Arg<T8>,
RSVP.Arg<T9>,
RSVP.Arg<T10>
],
label?: string
): RSVP.Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
<T1, T2, T3, T4, T5, T6, T7, T8, T9>(
values: [
RSVP.Arg<T1>,
RSVP.Arg<T2>,
RSVP.Arg<T3>,
RSVP.Arg<T4>,
RSVP.Arg<T5>,
RSVP.Arg<T6>,
RSVP.Arg<T7>,
RSVP.Arg<T8>,
RSVP.Arg<T9>
],
label?: string
): RSVP.Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
<T1, T2, T3, T4, T5, T6, T7, T8>(
values: [
RSVP.Arg<T1>,
RSVP.Arg<T2>,
RSVP.Arg<T3>,
RSVP.Arg<T4>,
RSVP.Arg<T5>,
RSVP.Arg<T6>,
RSVP.Arg<T7>,
RSVP.Arg<T8>
],
label?: string
): RSVP.Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
<T1, T2, T3, T4, T5, T6, T7>(
values: [
RSVP.Arg<T1>,
RSVP.Arg<T2>,
RSVP.Arg<T3>,
RSVP.Arg<T4>,
RSVP.Arg<T5>,
RSVP.Arg<T6>,
RSVP.Arg<T7>
],
label?: string
): RSVP.Promise<[T1, T2, T3, T4, T5, T6, T7]>;
<T1, T2, T3, T4, T5, T6>(
values: [
RSVP.Arg<T1>,
RSVP.Arg<T2>,
RSVP.Arg<T3>,
RSVP.Arg<T4>,
RSVP.Arg<T5>,
RSVP.Arg<T6>
],
label?: string
): RSVP.Promise<[T1, T2, T3, T4, T5, T6]>;
<T1, T2, T3, T4, T5>(
values: [
RSVP.Arg<T1>,
RSVP.Arg<T2>,
RSVP.Arg<T3>,
RSVP.Arg<T4>,
RSVP.Arg<T5>
],
label?: string
): RSVP.Promise<[T1, T2, T3, T4, T5]>;
<T1, T2, T3, T4>(
values: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>, RSVP.Arg<T4>],
label?: string
): RSVP.Promise<[T1, T2, T3, T4]>;
<T1, T2, T3>(
values: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>],
label?: string
): RSVP.Promise<[T1, T2, T3]>;
<T1, T2>(values: [RSVP.Arg<T1>, RSVP.Arg<T2>], label?: string): RSVP.Promise<
[T1, T2]
>;
<T>(values: RSVP.Arg<T>[], label?: string): RSVP.Promise<T[]>;
};

    variable allSettled

    const allSettled: {
    <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
    entries: [
    RSVP.Arg<T1>,
    RSVP.Arg<T2>,
    RSVP.Arg<T3>,
    RSVP.Arg<T4>,
    RSVP.Arg<T5>,
    RSVP.Arg<T6>,
    RSVP.Arg<T7>,
    RSVP.Arg<T8>,
    RSVP.Arg<T9>,
    RSVP.Arg<T10>
    ],
    label?: string
    ): RSVP.Promise<
    [
    RSVP.PromiseState<T1>,
    RSVP.PromiseState<T2>,
    RSVP.PromiseState<T3>,
    RSVP.PromiseState<T4>,
    RSVP.PromiseState<T5>,
    RSVP.PromiseState<T6>,
    RSVP.PromiseState<T7>,
    RSVP.PromiseState<T8>,
    RSVP.PromiseState<T9>
    ]
    >;
    <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
    entries: [
    RSVP.Arg<T1>,
    RSVP.Arg<T2>,
    RSVP.Arg<T3>,
    RSVP.Arg<T4>,
    RSVP.Arg<T5>,
    RSVP.Arg<T6>,
    RSVP.Arg<T7>,
    RSVP.Arg<T8>,
    RSVP.Arg<T9>
    ],
    label?: string
    ): RSVP.Promise<
    [
    RSVP.PromiseState<T1>,
    RSVP.PromiseState<T2>,
    RSVP.PromiseState<T3>,
    RSVP.PromiseState<T4>,
    RSVP.PromiseState<T5>,
    RSVP.PromiseState<T6>,
    RSVP.PromiseState<T7>,
    RSVP.PromiseState<T8>,
    RSVP.PromiseState<T9>
    ]
    >;
    <T1, T2, T3, T4, T5, T6, T7, T8>(
    entries: [
    RSVP.Arg<T1>,
    RSVP.Arg<T2>,
    RSVP.Arg<T3>,
    RSVP.Arg<T4>,
    RSVP.Arg<T5>,
    RSVP.Arg<T6>,
    RSVP.Arg<T7>,
    RSVP.Arg<T8>
    ],
    label?: string
    ): RSVP.Promise<
    [
    RSVP.PromiseState<T1>,
    RSVP.PromiseState<T2>,
    RSVP.PromiseState<T3>,
    RSVP.PromiseState<T4>,
    RSVP.PromiseState<T5>,
    RSVP.PromiseState<T6>,
    RSVP.PromiseState<T7>,
    RSVP.PromiseState<T8>
    ]
    >;
    <T1, T2, T3, T4, T5, T6, T7>(
    entries: [
    RSVP.Arg<T1>,
    RSVP.Arg<T2>,
    RSVP.Arg<T3>,
    RSVP.Arg<T4>,
    RSVP.Arg<T5>,
    RSVP.Arg<T6>,
    RSVP.Arg<T7>
    ],
    label?: string
    ): RSVP.Promise<
    [
    RSVP.PromiseState<T1>,
    RSVP.PromiseState<T2>,
    RSVP.PromiseState<T3>,
    RSVP.PromiseState<T4>,
    RSVP.PromiseState<T5>,
    RSVP.PromiseState<T6>,
    RSVP.PromiseState<T7>
    ]
    >;
    <T1, T2, T3, T4, T5, T6>(
    entries: [
    RSVP.Arg<T1>,
    RSVP.Arg<T2>,
    RSVP.Arg<T3>,
    RSVP.Arg<T4>,
    RSVP.Arg<T5>,
    RSVP.Arg<T6>
    ],
    label?: string
    ): RSVP.Promise<
    [
    RSVP.PromiseState<T1>,
    RSVP.PromiseState<T2>,
    RSVP.PromiseState<T3>,
    RSVP.PromiseState<T4>,
    RSVP.PromiseState<T5>,
    RSVP.PromiseState<T6>
    ]
    >;
    <T1, T2, T3, T4, T5>(
    entries: [
    RSVP.Arg<T1>,
    RSVP.Arg<T2>,
    RSVP.Arg<T3>,
    RSVP.Arg<T4>,
    RSVP.Arg<T5>
    ],
    label?: string
    ): RSVP.Promise<
    [
    RSVP.PromiseState<T1>,
    RSVP.PromiseState<T2>,
    RSVP.PromiseState<T3>,
    RSVP.PromiseState<T4>,
    RSVP.PromiseState<T5>
    ]
    >;
    <T1, T2, T3, T4>(
    entries: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>, RSVP.Arg<T4>],
    label?: string
    ): RSVP.Promise<
    [
    RSVP.PromiseState<T1>,
    RSVP.PromiseState<T2>,
    RSVP.PromiseState<T3>,
    RSVP.PromiseState<T4>
    ]
    >;
    <T1, T2, T3>(
    entries: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>],
    label?: string
    ): RSVP.Promise<
    [RSVP.PromiseState<T1>, RSVP.PromiseState<T2>, RSVP.PromiseState<T3>]
    >;
    <T1, T2>(entries: [RSVP.Arg<T1>, RSVP.Arg<T2>], label?: string): RSVP.Promise<
    [RSVP.PromiseState<T1>, RSVP.PromiseState<T2>]
    >;
    <T>(entries: RSVP.Arg<T>[], label?: string): RSVP.Promise<
    [RSVP.PromiseState<T>]
    >;
    };

      variable asap

      const asap: <T, U>(callback: (callbackArg: T) => U, arg: T) => void;

        variable async

        const async: <T, U>(callback: (callbackArg: T) => U, arg: T) => void;

          variable cast

          const cast: {
          <T>(value?: RSVP.Arg<T>, label?: string): RSVP.Promise<T>;
          (): RSVP.Promise<void>;
          };

            variable configure

            const configure: { <T>(name: string): T; <T>(name: string, value: T): void };

              variable defer

              const defer: <T>(label?: string) => RSVP.Deferred<T>;

                variable denodeify

                const denodeify: {
                <T1, T2, T3, A>(
                nodeFunc: (
                arg1: A,
                callback: (err: any, data1: T1, data2: T2, data3: T3) => void
                ) => void,
                options?: false
                ): (arg1: A) => RSVP.Promise<T1>;
                <T1, T2, A>(
                nodeFunc: (
                arg1: A,
                callback: (err: any, data1: T1, data2: T2) => void
                ) => void,
                options?: false
                ): (arg1: A) => RSVP.Promise<T1>;
                <T, A>(
                nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void,
                options?: false
                ): (arg1: A) => RSVP.Promise<T>;
                <T1, T2, T3, A>(
                nodeFunc: (
                arg1: A,
                callback: (err: any, data1: T1, data2: T2, data3: T3) => void
                ) => void,
                options: true
                ): (arg1: A) => RSVP.Promise<[T1, T2, T3]>;
                <T1, T2, A>(
                nodeFunc: (
                arg1: A,
                callback: (err: any, data1: T1, data2: T2) => void
                ) => void,
                options: true
                ): (arg1: A) => RSVP.Promise<[T1, T2]>;
                <T, A>(
                nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void,
                options: true
                ): (arg1: A) => RSVP.Promise<[T]>;
                <T1, T2, T3, A, K1 extends string, K2 extends string, K3 extends string>(
                nodeFunc: (
                arg1: A,
                callback: (err: any, data1: T1, data2: T2, data3: T3) => void
                ) => void,
                options: [K1, K2, K3]
                ): (
                arg1: A
                ) => RSVP.Promise<{ [K in K1]: T1 } & { [K in K2]: T2 } & { [K in K3]: T3 }>;
                <T1, T2, A, K1 extends string, K2 extends string>(
                nodeFunc: (
                arg1: A,
                callback: (err: any, data1: T1, data2: T2) => void
                ) => void,
                options: [K1, K2]
                ): (arg1: A) => RSVP.Promise<{ [K in K1]: T1 } & { [K in K2]: T2 }>;
                <T, A, K1 extends string>(
                nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void,
                options: [K1]
                ): (arg1: A) => RSVP.Promise<{ [K in K1]: T }>;
                };

                  variable EventTarget

                  const EventTarget: typeof RSVP.EventTarget;

                    variable filter

                    const filter: {
                    <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
                    entries: [
                    RSVP.Arg<T1>,
                    RSVP.Arg<T2>,
                    RSVP.Arg<T3>,
                    RSVP.Arg<T4>,
                    RSVP.Arg<T5>,
                    RSVP.Arg<T6>,
                    RSVP.Arg<T7>,
                    RSVP.Arg<T8>,
                    RSVP.Arg<T9>,
                    RSVP.Arg<T10>
                    ],
                    filterFn: (
                    item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10
                    ) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10)[]>;
                    <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
                    entries: [
                    RSVP.Arg<T1>,
                    RSVP.Arg<T2>,
                    RSVP.Arg<T3>,
                    RSVP.Arg<T4>,
                    RSVP.Arg<T5>,
                    RSVP.Arg<T6>,
                    RSVP.Arg<T7>,
                    RSVP.Arg<T8>,
                    RSVP.Arg<T9>
                    ],
                    filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9)[]>;
                    <T1, T2, T3, T4, T5, T6, T7, T8>(
                    entries: [
                    RSVP.Arg<T1>,
                    RSVP.Arg<T2>,
                    RSVP.Arg<T3>,
                    RSVP.Arg<T4>,
                    RSVP.Arg<T5>,
                    RSVP.Arg<T6>,
                    RSVP.Arg<T7>,
                    RSVP.Arg<T8>
                    ],
                    filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8)[]>;
                    <T1, T2, T3, T4, T5, T6, T7>(
                    entries: [
                    RSVP.Arg<T1>,
                    RSVP.Arg<T2>,
                    RSVP.Arg<T3>,
                    RSVP.Arg<T4>,
                    RSVP.Arg<T5>,
                    RSVP.Arg<T6>,
                    RSVP.Arg<T7>
                    ],
                    filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2 | T3 | T4 | T5 | T6 | T7)[]>;
                    <T1, T2, T3, T4, T5, T6>(
                    entries: [
                    RSVP.Arg<T1>,
                    RSVP.Arg<T2>,
                    RSVP.Arg<T3>,
                    RSVP.Arg<T4>,
                    RSVP.Arg<T5>,
                    RSVP.Arg<T6>
                    ],
                    filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2 | T3 | T4 | T5 | T6)[] & { length: 6 }>;
                    <T1, T2, T3, T4, T5>(
                    entries: [
                    RSVP.Arg<T1>,
                    RSVP.Arg<T2>,
                    RSVP.Arg<T3>,
                    RSVP.Arg<T4>,
                    RSVP.Arg<T5>
                    ],
                    filterFn: (item: T1 | T2 | T3 | T4 | T5) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2 | T3 | T4 | T5)[]>;
                    <T1, T2, T3, T4>(
                    entries: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>, RSVP.Arg<T4>],
                    filterFn: (item: T1 | T2 | T3 | T4) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2 | T3 | T4)[]>;
                    <T1, T2, T3>(
                    entries: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>],
                    filterFn: (item: T1 | T2 | T3) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2 | T3)[]>;
                    <T1, T2>(
                    entries: [RSVP.Arg<T1>, RSVP.Arg<T2>],
                    filterFn: (item: T1 | T2) => boolean,
                    label?: string
                    ): RSVP.Promise<(T1 | T2)[]>;
                    <T>(
                    entries: RSVP.Arg<T>[],
                    filterFn: (item: T) => boolean,
                    label?: string
                    ): RSVP.Promise<T[]>;
                    };

                      variable hash

                      const hash: <T>(
                      object: { [P in keyof T]: RSVP.Arg<T[P]> },
                      label?: string
                      ) => RSVP.Promise<T>;

                        variable hashSettled

                        const hashSettled: <T>(
                        object: { [P in keyof T]: RSVP.Arg<T[P]> },
                        label?: string
                        ) => RSVP.Promise<{ [P in keyof T]: RSVP.PromiseState<T[P]> }>;

                          variable map

                          const map: {
                          <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, U>(
                          entries: [
                          RSVP.Arg<T1>,
                          RSVP.Arg<T2>,
                          RSVP.Arg<T3>,
                          RSVP.Arg<T4>,
                          RSVP.Arg<T5>,
                          RSVP.Arg<T6>,
                          RSVP.Arg<T7>,
                          RSVP.Arg<T8>,
                          RSVP.Arg<T9>,
                          RSVP.Arg<T10>
                          ],
                          mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 10 }>;
                          <T1, T2, T3, T4, T5, T6, T7, T8, T9, U>(
                          entries: [
                          RSVP.Arg<T1>,
                          RSVP.Arg<T2>,
                          RSVP.Arg<T3>,
                          RSVP.Arg<T4>,
                          RSVP.Arg<T5>,
                          RSVP.Arg<T6>,
                          RSVP.Arg<T7>,
                          RSVP.Arg<T8>,
                          RSVP.Arg<T9>
                          ],
                          mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 9 }>;
                          <T1, T2, T3, T4, T5, T6, T7, T8, U>(
                          entries: [
                          RSVP.Arg<T1>,
                          RSVP.Arg<T2>,
                          RSVP.Arg<T3>,
                          RSVP.Arg<T4>,
                          RSVP.Arg<T5>,
                          RSVP.Arg<T6>,
                          RSVP.Arg<T7>,
                          RSVP.Arg<T8>
                          ],
                          mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 8 }>;
                          <T1, T2, T3, T4, T5, T6, T7, U>(
                          entries: [
                          RSVP.Arg<T1>,
                          RSVP.Arg<T2>,
                          RSVP.Arg<T3>,
                          RSVP.Arg<T4>,
                          RSVP.Arg<T5>,
                          RSVP.Arg<T6>,
                          RSVP.Arg<T7>
                          ],
                          mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 7 }>;
                          <T1, T2, T3, T4, T5, T6, U>(
                          entries: [
                          RSVP.Arg<T1>,
                          RSVP.Arg<T2>,
                          RSVP.Arg<T3>,
                          RSVP.Arg<T4>,
                          RSVP.Arg<T5>,
                          RSVP.Arg<T6>
                          ],
                          mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 6 }>;
                          <T1, T2, T3, T4, T5, U>(
                          entries: [
                          RSVP.Arg<T1>,
                          RSVP.Arg<T2>,
                          RSVP.Arg<T3>,
                          RSVP.Arg<T4>,
                          RSVP.Arg<T5>
                          ],
                          mapFn: (item: T1 | T2 | T3 | T4 | T5) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 5 }>;
                          <T1, T2, T3, T4, U>(
                          entries: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>, RSVP.Arg<T4>],
                          mapFn: (item: T1 | T2 | T3 | T4) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 4 }>;
                          <T1, T2, T3, U>(
                          entries: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>],
                          mapFn: (item: T1 | T2 | T3) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 3 }>;
                          <T1, T2, U>(
                          entries: [RSVP.Arg<T1>, RSVP.Arg<T2>],
                          mapFn: (item: T1 | T2) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 2 }>;
                          <T, U>(
                          entries: RSVP.Arg<T>[],
                          mapFn: (item: T) => U,
                          label?: string
                          ): RSVP.Promise<U[] & { length: 1 }>;
                          };

                            variable off

                            const off: (eventName: string, callback?: (value: any) => void) => void;

                              variable on

                              const on: {
                              (
                              eventName: 'created' | 'chained' | 'fulfilled' | 'rejected',
                              listener: (event: RSVP.InstrumentEvent) => void
                              ): void;
                              (eventName: 'error', errorHandler: (reason: any) => void): void;
                              (eventName: string, callback: (value: any) => void): void;
                              };

                                variable Promise

                                const Promise: typeof RSVP.Promise;

                                  variable race

                                  const race: {
                                  <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
                                  values: [
                                  RSVP.Arg<T1>,
                                  RSVP.Arg<T2>,
                                  RSVP.Arg<T3>,
                                  RSVP.Arg<T4>,
                                  RSVP.Arg<T5>,
                                  RSVP.Arg<T6>,
                                  RSVP.Arg<T7>,
                                  RSVP.Arg<T8>,
                                  RSVP.Arg<T9>,
                                  T10 | PromiseLike<T10>
                                  ],
                                  label?: string
                                  ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>;
                                  <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
                                  values: [
                                  RSVP.Arg<T1>,
                                  RSVP.Arg<T2>,
                                  RSVP.Arg<T3>,
                                  RSVP.Arg<T4>,
                                  RSVP.Arg<T5>,
                                  RSVP.Arg<T6>,
                                  RSVP.Arg<T7>,
                                  RSVP.Arg<T8>,
                                  RSVP.Arg<T9>
                                  ],
                                  label?: string
                                  ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;
                                  <T1, T2, T3, T4, T5, T6, T7, T8>(
                                  values: [
                                  RSVP.Arg<T1>,
                                  RSVP.Arg<T2>,
                                  RSVP.Arg<T3>,
                                  RSVP.Arg<T4>,
                                  RSVP.Arg<T5>,
                                  RSVP.Arg<T6>,
                                  RSVP.Arg<T7>,
                                  RSVP.Arg<T8>
                                  ],
                                  label?: string
                                  ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>;
                                  <T1, T2, T3, T4, T5, T6, T7>(
                                  values: [
                                  RSVP.Arg<T1>,
                                  RSVP.Arg<T2>,
                                  RSVP.Arg<T3>,
                                  RSVP.Arg<T4>,
                                  RSVP.Arg<T5>,
                                  RSVP.Arg<T6>,
                                  RSVP.Arg<T7>
                                  ],
                                  label?: string
                                  ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7>;
                                  <T1, T2, T3, T4, T5, T6>(
                                  values: [
                                  RSVP.Arg<T1>,
                                  RSVP.Arg<T2>,
                                  RSVP.Arg<T3>,
                                  RSVP.Arg<T4>,
                                  RSVP.Arg<T5>,
                                  RSVP.Arg<T6>
                                  ],
                                  label?: string
                                  ): RSVP.Promise<T1 | T2 | T3 | T4 | T5 | T6>;
                                  <T1, T2, T3, T4, T5>(
                                  values: [
                                  RSVP.Arg<T1>,
                                  RSVP.Arg<T2>,
                                  RSVP.Arg<T3>,
                                  RSVP.Arg<T4>,
                                  RSVP.Arg<T5>
                                  ],
                                  label?: string
                                  ): RSVP.Promise<T1 | T2 | T3 | T4 | T5>;
                                  <T1, T2, T3, T4>(
                                  values: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>, RSVP.Arg<T4>],
                                  label?: string
                                  ): RSVP.Promise<T1 | T2 | T3 | T4>;
                                  <T1, T2, T3>(
                                  values: [RSVP.Arg<T1>, RSVP.Arg<T2>, RSVP.Arg<T3>],
                                  label?: string
                                  ): RSVP.Promise<T1 | T2 | T3>;
                                  <T1, T2>(values: [RSVP.Arg<T1>, RSVP.Arg<T2>], label?: string): RSVP.Promise<
                                  T1 | T2
                                  >;
                                  <T>(values: RSVP.Arg<T>[], label?: string): RSVP.Promise<T>;
                                  };

                                    variable reject

                                    const reject: (reason?: any, label?: string) => RSVP.Promise<never>;

                                      variable resolve

                                      const resolve: {
                                      <T>(value?: RSVP.Arg<T>, label?: string): RSVP.Promise<T>;
                                      (): RSVP.Promise<void>;
                                      };

                                        variable rethrow

                                        const rethrow: (reason: any) => void;

                                          Interfaces

                                          interface EventTarget

                                          interface EventTarget extends RSVP.EventTarget {}

                                            interface Promise

                                            interface Promise<T> extends RSVP.Promise<T> {}

                                              Namespaces

                                              namespace RSVP

                                              namespace RSVP {}

                                                variable all

                                                const all: {
                                                <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
                                                values: [
                                                Arg<T1>,
                                                Arg<T2>,
                                                Arg<T3>,
                                                Arg<T4>,
                                                Arg<T5>,
                                                Arg<T6>,
                                                Arg<T7>,
                                                Arg<T8>,
                                                Arg<T9>,
                                                Arg<T10>
                                                ],
                                                label?: string
                                                ): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
                                                <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
                                                values: [
                                                Arg<T1>,
                                                Arg<T2>,
                                                Arg<T3>,
                                                Arg<T4>,
                                                Arg<T5>,
                                                Arg<T6>,
                                                Arg<T7>,
                                                Arg<T8>,
                                                Arg<T9>
                                                ],
                                                label?: string
                                                ): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
                                                <T1, T2, T3, T4, T5, T6, T7, T8>(
                                                values: [
                                                Arg<T1>,
                                                Arg<T2>,
                                                Arg<T3>,
                                                Arg<T4>,
                                                Arg<T5>,
                                                Arg<T6>,
                                                Arg<T7>,
                                                Arg<T8>
                                                ],
                                                label?: string
                                                ): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
                                                <T1, T2, T3, T4, T5, T6, T7>(
                                                values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>],
                                                label?: string
                                                ): Promise<[T1, T2, T3, T4, T5, T6, T7]>;
                                                <T1, T2, T3, T4, T5, T6>(
                                                values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>],
                                                label?: string
                                                ): Promise<[T1, T2, T3, T4, T5, T6]>;
                                                <T1, T2, T3, T4, T5>(
                                                values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>],
                                                label?: string
                                                ): Promise<[T1, T2, T3, T4, T5]>;
                                                <T1, T2, T3, T4>(
                                                values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>],
                                                label?: string
                                                ): Promise<[T1, T2, T3, T4]>;
                                                <T1, T2, T3>(values: [Arg<T1>, Arg<T2>, Arg<T3>], label?: string): Promise<
                                                [T1, T2, T3]
                                                >;
                                                <T1, T2>(values: [Arg<T1>, Arg<T2>], label?: string): Promise<[T1, T2]>;
                                                <T>(values: Arg<T>[], label?: string): Promise<T[]>;
                                                };

                                                  variable async

                                                  const async: <T, U>(callback: (callbackArg: T) => U, arg: T) => void;

                                                    variable cast

                                                    const cast: { <T>(value?: Arg<T>, label?: string): Promise<T>; (): Promise<void> };

                                                      variable off

                                                      const off: (eventName: string, callback?: (value: any) => void) => void;

                                                        variable on

                                                        const on: {
                                                        (
                                                        eventName: 'created' | 'chained' | 'fulfilled' | 'rejected',
                                                        listener: (event: InstrumentEvent) => void
                                                        ): void;
                                                        (eventName: 'error', errorHandler: (reason: any) => void): void;
                                                        (eventName: string, callback: (value: any) => void): void;
                                                        };

                                                          variable race

                                                          const race: {
                                                          <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
                                                          values: [
                                                          Arg<T1>,
                                                          Arg<T2>,
                                                          Arg<T3>,
                                                          Arg<T4>,
                                                          Arg<T5>,
                                                          Arg<T6>,
                                                          Arg<T7>,
                                                          Arg<T8>,
                                                          Arg<T9>,
                                                          T10 | PromiseLike<T10>
                                                          ],
                                                          label?: string
                                                          ): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>;
                                                          <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
                                                          values: [
                                                          Arg<T1>,
                                                          Arg<T2>,
                                                          Arg<T3>,
                                                          Arg<T4>,
                                                          Arg<T5>,
                                                          Arg<T6>,
                                                          Arg<T7>,
                                                          Arg<T8>,
                                                          Arg<T9>
                                                          ],
                                                          label?: string
                                                          ): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;
                                                          <T1, T2, T3, T4, T5, T6, T7, T8>(
                                                          values: [
                                                          Arg<T1>,
                                                          Arg<T2>,
                                                          Arg<T3>,
                                                          Arg<T4>,
                                                          Arg<T5>,
                                                          Arg<T6>,
                                                          Arg<T7>,
                                                          Arg<T8>
                                                          ],
                                                          label?: string
                                                          ): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>;
                                                          <T1, T2, T3, T4, T5, T6, T7>(
                                                          values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>],
                                                          label?: string
                                                          ): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7>;
                                                          <T1, T2, T3, T4, T5, T6>(
                                                          values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>],
                                                          label?: string
                                                          ): Promise<T1 | T2 | T3 | T4 | T5 | T6>;
                                                          <T1, T2, T3, T4, T5>(
                                                          values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>],
                                                          label?: string
                                                          ): Promise<T1 | T2 | T3 | T4 | T5>;
                                                          <T1, T2, T3, T4>(
                                                          values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>],
                                                          label?: string
                                                          ): Promise<T1 | T2 | T3 | T4>;
                                                          <T1, T2, T3>(values: [Arg<T1>, Arg<T2>, Arg<T3>], label?: string): Promise<
                                                          T1 | T2 | T3
                                                          >;
                                                          <T1, T2>(values: [Arg<T1>, Arg<T2>], label?: string): Promise<T1 | T2>;
                                                          <T>(values: Arg<T>[], label?: string): Promise<T>;
                                                          };

                                                            variable reject

                                                            const reject: (reason?: any, label?: string) => Promise<never>;

                                                              variable resolve

                                                              const resolve: {
                                                              <T>(value?: Arg<T>, label?: string): Promise<T>;
                                                              (): Promise<void>;
                                                              };

                                                                function allSettled

                                                                allSettled: {
                                                                <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
                                                                entries: [
                                                                Arg<T1>,
                                                                Arg<T2>,
                                                                Arg<T3>,
                                                                Arg<T4>,
                                                                Arg<T5>,
                                                                Arg<T6>,
                                                                Arg<T7>,
                                                                Arg<T8>,
                                                                Arg<T9>,
                                                                Arg<T10>
                                                                ],
                                                                label?: string
                                                                ): Promise<
                                                                [
                                                                PromiseState<T1>,
                                                                PromiseState<T2>,
                                                                PromiseState<T3>,
                                                                PromiseState<T4>,
                                                                PromiseState<T5>,
                                                                PromiseState<T6>,
                                                                PromiseState<T7>,
                                                                PromiseState<T8>,
                                                                PromiseState<T9>
                                                                ]
                                                                >;
                                                                <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
                                                                entries: [
                                                                Arg<T1>,
                                                                Arg<T2>,
                                                                Arg<T3>,
                                                                Arg<T4>,
                                                                Arg<T5>,
                                                                Arg<T6>,
                                                                Arg<T7>,
                                                                Arg<T8>,
                                                                Arg<T9>
                                                                ],
                                                                label?: string
                                                                ): Promise<
                                                                [
                                                                PromiseState<T1>,
                                                                PromiseState<T2>,
                                                                PromiseState<T3>,
                                                                PromiseState<T4>,
                                                                PromiseState<T5>,
                                                                PromiseState<T6>,
                                                                PromiseState<T7>,
                                                                PromiseState<T8>,
                                                                PromiseState<T9>
                                                                ]
                                                                >;
                                                                <T1, T2, T3, T4, T5, T6, T7, T8>(
                                                                entries: [
                                                                Arg<T1>,
                                                                Arg<T2>,
                                                                Arg<T3>,
                                                                Arg<T4>,
                                                                Arg<T5>,
                                                                Arg<T6>,
                                                                Arg<T7>,
                                                                Arg<T8>
                                                                ],
                                                                label?: string
                                                                ): Promise<
                                                                [
                                                                PromiseState<T1>,
                                                                PromiseState<T2>,
                                                                PromiseState<T3>,
                                                                PromiseState<T4>,
                                                                PromiseState<T5>,
                                                                PromiseState<T6>,
                                                                PromiseState<T7>,
                                                                PromiseState<T8>
                                                                ]
                                                                >;
                                                                <T1, T2, T3, T4, T5, T6, T7>(
                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>],
                                                                label?: string
                                                                ): Promise<
                                                                [
                                                                PromiseState<T1>,
                                                                PromiseState<T2>,
                                                                PromiseState<T3>,
                                                                PromiseState<T4>,
                                                                PromiseState<T5>,
                                                                PromiseState<T6>,
                                                                PromiseState<T7>
                                                                ]
                                                                >;
                                                                <T1, T2, T3, T4, T5, T6>(
                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>],
                                                                label?: string
                                                                ): Promise<
                                                                [
                                                                PromiseState<T1>,
                                                                PromiseState<T2>,
                                                                PromiseState<T3>,
                                                                PromiseState<T4>,
                                                                PromiseState<T5>,
                                                                PromiseState<T6>
                                                                ]
                                                                >;
                                                                <T1, T2, T3, T4, T5>(
                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>],
                                                                label?: string
                                                                ): Promise<
                                                                [
                                                                PromiseState<T1>,
                                                                PromiseState<T2>,
                                                                PromiseState<T3>,
                                                                PromiseState<T4>,
                                                                PromiseState<T5>
                                                                ]
                                                                >;
                                                                <T1, T2, T3, T4>(
                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>],
                                                                label?: string
                                                                ): Promise<
                                                                [PromiseState<T1>, PromiseState<T2>, PromiseState<T3>, PromiseState<T4>]
                                                                >;
                                                                <T1, T2, T3>(entries: [Arg<T1>, Arg<T2>, Arg<T3>], label?: string): Promise<
                                                                [PromiseState<T1>, PromiseState<T2>, PromiseState<T3>]
                                                                >;
                                                                <T1, T2>(entries: [Arg<T1>, Arg<T2>], label?: string): Promise<
                                                                [PromiseState<T1>, PromiseState<T2>]
                                                                >;
                                                                <T>(entries: Arg<T>[], label?: string): Promise<[PromiseState<T>]>;
                                                                };

                                                                  function asap

                                                                  asap: <T, U>(callback: (callbackArg: T) => U, arg: T) => void;

                                                                    function configure

                                                                    configure: { <T>(name: string): T; <T>(name: string, value: T): void };

                                                                      function defer

                                                                      defer: <T>(label?: string) => Deferred<T>;

                                                                        function denodeify

                                                                        denodeify: {
                                                                        <T1, T2, T3, A>(
                                                                        nodeFunc: (
                                                                        arg1: A,
                                                                        callback: (err: any, data1: T1, data2: T2, data3: T3) => void
                                                                        ) => void,
                                                                        options?: false
                                                                        ): (arg1: A) => Promise<T1>;
                                                                        <T1, T2, A>(
                                                                        nodeFunc: (
                                                                        arg1: A,
                                                                        callback: (err: any, data1: T1, data2: T2) => void
                                                                        ) => void,
                                                                        options?: false
                                                                        ): (arg1: A) => Promise<T1>;
                                                                        <T, A>(
                                                                        nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void,
                                                                        options?: false
                                                                        ): (arg1: A) => Promise<T>;
                                                                        <T1, T2, T3, A>(
                                                                        nodeFunc: (
                                                                        arg1: A,
                                                                        callback: (err: any, data1: T1, data2: T2, data3: T3) => void
                                                                        ) => void,
                                                                        options: true
                                                                        ): (arg1: A) => Promise<[T1, T2, T3]>;
                                                                        <T1, T2, A>(
                                                                        nodeFunc: (
                                                                        arg1: A,
                                                                        callback: (err: any, data1: T1, data2: T2) => void
                                                                        ) => void,
                                                                        options: true
                                                                        ): (arg1: A) => Promise<[T1, T2]>;
                                                                        <T, A>(
                                                                        nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void,
                                                                        options: true
                                                                        ): (arg1: A) => Promise<[T]>;
                                                                        <T1, T2, T3, A, K1 extends string, K2 extends string, K3 extends string>(
                                                                        nodeFunc: (
                                                                        arg1: A,
                                                                        callback: (err: any, data1: T1, data2: T2, data3: T3) => void
                                                                        ) => void,
                                                                        options: [K1, K2, K3]
                                                                        ): (
                                                                        arg1: A
                                                                        ) => Promise<{ [K in K1]: T1 } & { [K in K2]: T2 } & { [K in K3]: T3 }>;
                                                                        <T1, T2, A, K1 extends string, K2 extends string>(
                                                                        nodeFunc: (
                                                                        arg1: A,
                                                                        callback: (err: any, data1: T1, data2: T2) => void
                                                                        ) => void,
                                                                        options: [K1, K2]
                                                                        ): (arg1: A) => Promise<{ [K in K1]: T1 } & { [K in K2]: T2 }>;
                                                                        <T, A, K1 extends string>(
                                                                        nodeFunc: (arg1: A, callback: (err: any, data: T) => void) => void,
                                                                        options: [K1]
                                                                        ): (arg1: A) => Promise<{ [K in K1]: T }>;
                                                                        };

                                                                          function filter

                                                                          filter: {
                                                                          <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
                                                                          entries: [
                                                                          Arg<T1>,
                                                                          Arg<T2>,
                                                                          Arg<T3>,
                                                                          Arg<T4>,
                                                                          Arg<T5>,
                                                                          Arg<T6>,
                                                                          Arg<T7>,
                                                                          Arg<T8>,
                                                                          Arg<T9>,
                                                                          Arg<T10>
                                                                          ],
                                                                          filterFn: (
                                                                          item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10
                                                                          ) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10)[]>;
                                                                          <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
                                                                          entries: [
                                                                          Arg<T1>,
                                                                          Arg<T2>,
                                                                          Arg<T3>,
                                                                          Arg<T4>,
                                                                          Arg<T5>,
                                                                          Arg<T6>,
                                                                          Arg<T7>,
                                                                          Arg<T8>,
                                                                          Arg<T9>
                                                                          ],
                                                                          filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9)[]>;
                                                                          <T1, T2, T3, T4, T5, T6, T7, T8>(
                                                                          entries: [
                                                                          Arg<T1>,
                                                                          Arg<T2>,
                                                                          Arg<T3>,
                                                                          Arg<T4>,
                                                                          Arg<T5>,
                                                                          Arg<T6>,
                                                                          Arg<T7>,
                                                                          Arg<T8>
                                                                          ],
                                                                          filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8)[]>;
                                                                          <T1, T2, T3, T4, T5, T6, T7>(
                                                                          entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>],
                                                                          filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2 | T3 | T4 | T5 | T6 | T7)[]>;
                                                                          <T1, T2, T3, T4, T5, T6>(
                                                                          entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>],
                                                                          filterFn: (item: T1 | T2 | T3 | T4 | T5 | T6) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2 | T3 | T4 | T5 | T6)[] & { length: 6 }>;
                                                                          <T1, T2, T3, T4, T5>(
                                                                          entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>],
                                                                          filterFn: (item: T1 | T2 | T3 | T4 | T5) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2 | T3 | T4 | T5)[]>;
                                                                          <T1, T2, T3, T4>(
                                                                          entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>],
                                                                          filterFn: (item: T1 | T2 | T3 | T4) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2 | T3 | T4)[]>;
                                                                          <T1, T2, T3>(
                                                                          entries: [Arg<T1>, Arg<T2>, Arg<T3>],
                                                                          filterFn: (item: T1 | T2 | T3) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2 | T3)[]>;
                                                                          <T1, T2>(
                                                                          entries: [Arg<T1>, Arg<T2>],
                                                                          filterFn: (item: T1 | T2) => boolean,
                                                                          label?: string
                                                                          ): Promise<(T1 | T2)[]>;
                                                                          <T>(entries: Arg<T>[], filterFn: (item: T) => boolean, label?: string): Promise<
                                                                          T[]
                                                                          >;
                                                                          };

                                                                            function hash

                                                                            hash: <T>(object: { [P in keyof T]: Arg<T[P]> }, label?: string) => Promise<T>;

                                                                              function hashSettled

                                                                              hashSettled: <T>(
                                                                              object: { [P in keyof T]: Arg<T[P]> },
                                                                              label?: string
                                                                              ) => Promise<{ [P in keyof T]: PromiseState<T[P]> }>;

                                                                                function map

                                                                                map: {
                                                                                <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, U>(
                                                                                entries: [
                                                                                Arg<T1>,
                                                                                Arg<T2>,
                                                                                Arg<T3>,
                                                                                Arg<T4>,
                                                                                Arg<T5>,
                                                                                Arg<T6>,
                                                                                Arg<T7>,
                                                                                Arg<T8>,
                                                                                Arg<T9>,
                                                                                Arg<T10>
                                                                                ],
                                                                                mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 10 }>;
                                                                                <T1, T2, T3, T4, T5, T6, T7, T8, T9, U>(
                                                                                entries: [
                                                                                Arg<T1>,
                                                                                Arg<T2>,
                                                                                Arg<T3>,
                                                                                Arg<T4>,
                                                                                Arg<T5>,
                                                                                Arg<T6>,
                                                                                Arg<T7>,
                                                                                Arg<T8>,
                                                                                Arg<T9>
                                                                                ],
                                                                                mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 9 }>;
                                                                                <T1, T2, T3, T4, T5, T6, T7, T8, U>(
                                                                                entries: [
                                                                                Arg<T1>,
                                                                                Arg<T2>,
                                                                                Arg<T3>,
                                                                                Arg<T4>,
                                                                                Arg<T5>,
                                                                                Arg<T6>,
                                                                                Arg<T7>,
                                                                                Arg<T8>
                                                                                ],
                                                                                mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 8 }>;
                                                                                <T1, T2, T3, T4, T5, T6, T7, U>(
                                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>],
                                                                                mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6 | T7) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 7 }>;
                                                                                <T1, T2, T3, T4, T5, T6, U>(
                                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>],
                                                                                mapFn: (item: T1 | T2 | T3 | T4 | T5 | T6) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 6 }>;
                                                                                <T1, T2, T3, T4, T5, U>(
                                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>],
                                                                                mapFn: (item: T1 | T2 | T3 | T4 | T5) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 5 }>;
                                                                                <T1, T2, T3, T4, U>(
                                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>],
                                                                                mapFn: (item: T1 | T2 | T3 | T4) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 4 }>;
                                                                                <T1, T2, T3, U>(
                                                                                entries: [Arg<T1>, Arg<T2>, Arg<T3>],
                                                                                mapFn: (item: T1 | T2 | T3) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 3 }>;
                                                                                <T1, T2, U>(
                                                                                entries: [Arg<T1>, Arg<T2>],
                                                                                mapFn: (item: T1 | T2) => U,
                                                                                label?: string
                                                                                ): Promise<U[] & { length: 2 }>;
                                                                                <T, U>(entries: Arg<T>[], mapFn: (item: T) => U, label?: string): Promise<
                                                                                U[] & { length: 1 }
                                                                                >;
                                                                                };

                                                                                  function rethrow

                                                                                  rethrow: (reason: any) => void;

                                                                                    class EventTarget

                                                                                    class EventTarget {}

                                                                                      method mixin

                                                                                      static mixin: (object: object) => ObjectWithEventMixins;
                                                                                      • RSVP.EventTarget.mixin extends an object with EventTarget methods.

                                                                                      method off

                                                                                      static off: (eventName: string, callback?: (value: any) => void) => void;
                                                                                      • You can use off to stop firing a particular callback for an event.

                                                                                        If you don't pass a callback argument to off, ALL callbacks for the event will not be executed when the event fires.

                                                                                      method on

                                                                                      static on: {
                                                                                      (
                                                                                      eventName: 'created' | 'chained' | 'fulfilled' | 'rejected',
                                                                                      listener: (event: InstrumentEvent) => void
                                                                                      ): void;
                                                                                      (eventName: 'error', errorHandler: (reason: any) => void): void;
                                                                                      (eventName: string, callback: (value: any) => void): void;
                                                                                      };
                                                                                      • Registers a callback to be executed when eventName is triggered

                                                                                      method trigger

                                                                                      static trigger: (eventName: string, options?: any, label?: string) => void;
                                                                                      • Use trigger to fire custom events.

                                                                                        You can also pass a value as a second argument to trigger that will be passed as an argument to all event listeners for the event

                                                                                      class Promise

                                                                                      class Promise<T> implements PromiseLike<T> {}

                                                                                        constructor

                                                                                        constructor(
                                                                                        executor: (
                                                                                        resolve: (value?: RSVP.Arg<T>) => void,
                                                                                        reject: (reason?: any) => void
                                                                                        ) => void,
                                                                                        label?: string
                                                                                        );

                                                                                          property [Symbol.toStringTag]

                                                                                          readonly [Symbol.toStringTag]: string;

                                                                                            property cast

                                                                                            static cast: {
                                                                                            <T>(value?: Arg<T>, label?: string): Promise<T>;
                                                                                            (): Promise<void>;
                                                                                            };
                                                                                            • Deprecated

                                                                                            method all

                                                                                            static all: {
                                                                                            <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
                                                                                            values: [
                                                                                            Arg<T1>,
                                                                                            Arg<T2>,
                                                                                            Arg<T3>,
                                                                                            Arg<T4>,
                                                                                            Arg<T5>,
                                                                                            Arg<T6>,
                                                                                            Arg<T7>,
                                                                                            Arg<T8>,
                                                                                            Arg<T9>,
                                                                                            Arg<T10>
                                                                                            ],
                                                                                            label?: string
                                                                                            ): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
                                                                                            <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
                                                                                            values: [
                                                                                            Arg<T1>,
                                                                                            Arg<T2>,
                                                                                            Arg<T3>,
                                                                                            Arg<T4>,
                                                                                            Arg<T5>,
                                                                                            Arg<T6>,
                                                                                            Arg<T7>,
                                                                                            Arg<T8>,
                                                                                            Arg<T9>
                                                                                            ],
                                                                                            label?: string
                                                                                            ): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
                                                                                            <T1, T2, T3, T4, T5, T6, T7, T8>(
                                                                                            values: [
                                                                                            Arg<T1>,
                                                                                            Arg<T2>,
                                                                                            Arg<T3>,
                                                                                            Arg<T4>,
                                                                                            Arg<T5>,
                                                                                            Arg<T6>,
                                                                                            Arg<T7>,
                                                                                            Arg<T8>
                                                                                            ],
                                                                                            label?: string
                                                                                            ): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
                                                                                            <T1, T2, T3, T4, T5, T6, T7>(
                                                                                            values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>],
                                                                                            label?: string
                                                                                            ): Promise<[T1, T2, T3, T4, T5, T6, T7]>;
                                                                                            <T1, T2, T3, T4, T5, T6>(
                                                                                            values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>],
                                                                                            label?: string
                                                                                            ): Promise<[T1, T2, T3, T4, T5, T6]>;
                                                                                            <T1, T2, T3, T4, T5>(
                                                                                            values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>],
                                                                                            label?: string
                                                                                            ): Promise<[T1, T2, T3, T4, T5]>;
                                                                                            <T1, T2, T3, T4>(
                                                                                            values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>],
                                                                                            label?: string
                                                                                            ): Promise<[T1, T2, T3, T4]>;
                                                                                            <T1, T2, T3>(values: [Arg<T1>, Arg<T2>, Arg<T3>], label?: string): Promise<
                                                                                            [T1, T2, T3]
                                                                                            >;
                                                                                            <T1, T2>(values: [Arg<T1>, Arg<T2>], label?: string): Promise<[T1, T2]>;
                                                                                            <T>(values: Arg<T>[], label?: string): Promise<T[]>;
                                                                                            };

                                                                                              method catch

                                                                                              catch: <TResult = never>(
                                                                                              onRejected?: (reason: any) => TResult | PromiseLike<TResult>,
                                                                                              label?: string
                                                                                              ) => Promise<T | TResult>;

                                                                                                method finally

                                                                                                finally: <U>(onFinally?: U | PromiseLike<U>) => Promise<T>;

                                                                                                  method new

                                                                                                  new: <T>(
                                                                                                  executor: (
                                                                                                  resolve: (value?: RSVP.Arg<T>) => void,
                                                                                                  reject: (reason?: any) => void
                                                                                                  ) => void
                                                                                                  ) => Promise<T>;

                                                                                                    method race

                                                                                                    static race: {
                                                                                                    <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
                                                                                                    values: [
                                                                                                    Arg<T1>,
                                                                                                    Arg<T2>,
                                                                                                    Arg<T3>,
                                                                                                    Arg<T4>,
                                                                                                    Arg<T5>,
                                                                                                    Arg<T6>,
                                                                                                    Arg<T7>,
                                                                                                    Arg<T8>,
                                                                                                    Arg<T9>,
                                                                                                    T10 | PromiseLike<T10>
                                                                                                    ],
                                                                                                    label?: string
                                                                                                    ): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>;
                                                                                                    <T1, T2, T3, T4, T5, T6, T7, T8, T9>(
                                                                                                    values: [
                                                                                                    Arg<T1>,
                                                                                                    Arg<T2>,
                                                                                                    Arg<T3>,
                                                                                                    Arg<T4>,
                                                                                                    Arg<T5>,
                                                                                                    Arg<T6>,
                                                                                                    Arg<T7>,
                                                                                                    Arg<T8>,
                                                                                                    Arg<T9>
                                                                                                    ],
                                                                                                    label?: string
                                                                                                    ): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;
                                                                                                    <T1, T2, T3, T4, T5, T6, T7, T8>(
                                                                                                    values: [
                                                                                                    Arg<T1>,
                                                                                                    Arg<T2>,
                                                                                                    Arg<T3>,
                                                                                                    Arg<T4>,
                                                                                                    Arg<T5>,
                                                                                                    Arg<T6>,
                                                                                                    Arg<T7>,
                                                                                                    Arg<T8>
                                                                                                    ],
                                                                                                    label?: string
                                                                                                    ): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>;
                                                                                                    <T1, T2, T3, T4, T5, T6, T7>(
                                                                                                    values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>, Arg<T7>],
                                                                                                    label?: string
                                                                                                    ): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7>;
                                                                                                    <T1, T2, T3, T4, T5, T6>(
                                                                                                    values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>, Arg<T6>],
                                                                                                    label?: string
                                                                                                    ): Promise<T1 | T2 | T3 | T4 | T5 | T6>;
                                                                                                    <T1, T2, T3, T4, T5>(
                                                                                                    values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>, Arg<T5>],
                                                                                                    label?: string
                                                                                                    ): Promise<T1 | T2 | T3 | T4 | T5>;
                                                                                                    <T1, T2, T3, T4>(
                                                                                                    values: [Arg<T1>, Arg<T2>, Arg<T3>, Arg<T4>],
                                                                                                    label?: string
                                                                                                    ): Promise<T1 | T2 | T3 | T4>;
                                                                                                    <T1, T2, T3>(values: [Arg<T1>, Arg<T2>, Arg<T3>], label?: string): Promise<
                                                                                                    T1 | T2 | T3
                                                                                                    >;
                                                                                                    <T1, T2>(values: [Arg<T1>, Arg<T2>], label?: string): Promise<T1 | T2>;
                                                                                                    <T>(values: Arg<T>[], label?: string): Promise<T>;
                                                                                                    };

                                                                                                      method reject

                                                                                                      static reject: (reason?: any, label?: string) => Promise<never>;

                                                                                                        method resolve

                                                                                                        static resolve: {
                                                                                                        <T>(value?: Arg<T>, label?: string): Promise<T>;
                                                                                                        (): Promise<void>;
                                                                                                        };

                                                                                                          method then

                                                                                                          then: <TResult1 = T, TResult2 = never>(
                                                                                                          onFulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>,
                                                                                                          onRejected?: (reason: any) => TResult2 | PromiseLike<TResult2>,
                                                                                                          label?: string
                                                                                                          ) => Promise<TResult1 | TResult2>;

                                                                                                            interface InstrumentEvent

                                                                                                            interface InstrumentEvent {}

                                                                                                              property childGuid

                                                                                                              childGuid: string;

                                                                                                                property detail

                                                                                                                detail: any;

                                                                                                                  property eventName

                                                                                                                  eventName: string;

                                                                                                                    property guid

                                                                                                                    guid: string;

                                                                                                                      property label

                                                                                                                      label: string;

                                                                                                                        property timeStamp

                                                                                                                        timeStamp: number;

                                                                                                                          interface ObjectWithEventMixins

                                                                                                                          interface ObjectWithEventMixins {}

                                                                                                                            method off

                                                                                                                            off: (eventName: string, callback?: (value: any) => void) => void;

                                                                                                                              method on

                                                                                                                              on: {
                                                                                                                              (
                                                                                                                              eventName: 'created' | 'chained' | 'fulfilled' | 'rejected',
                                                                                                                              listener: (event: InstrumentEvent) => void
                                                                                                                              ): void;
                                                                                                                              (eventName: 'error', errorHandler: (reason: any) => void): void;
                                                                                                                              (eventName: string, callback: (value: any) => void): void;
                                                                                                                              };

                                                                                                                                method trigger

                                                                                                                                trigger: (eventName: string, options?: any, label?: string) => void;

                                                                                                                                  enum State

                                                                                                                                  enum State {
                                                                                                                                  fulfilled = 'fulfilled',
                                                                                                                                  rejected = 'rejected',
                                                                                                                                  pending = 'pending',
                                                                                                                                  }

                                                                                                                                    member fulfilled

                                                                                                                                    fulfilled = 'fulfilled'

                                                                                                                                      member pending

                                                                                                                                      pending = 'pending'

                                                                                                                                        member rejected

                                                                                                                                        rejected = 'rejected'

                                                                                                                                          type Arg

                                                                                                                                          type Arg<T> = T | PromiseLike<T>;

                                                                                                                                            type Deferred

                                                                                                                                            type Deferred<T> = {
                                                                                                                                            promise: Promise<T>;
                                                                                                                                            resolve: (value?: RSVP.Arg<T>) => void;
                                                                                                                                            reject: (reason?: any) => void;
                                                                                                                                            };

                                                                                                                                              type Pending

                                                                                                                                              type Pending = {
                                                                                                                                              state: State.pending;
                                                                                                                                              };

                                                                                                                                                type PromiseState

                                                                                                                                                type PromiseState<T> = Resolved<T> | Rejected | Pending;

                                                                                                                                                  type Rejected

                                                                                                                                                  type Rejected<T = any> = {
                                                                                                                                                  state: State.rejected;
                                                                                                                                                  reason: T;
                                                                                                                                                  };

                                                                                                                                                    type Resolved

                                                                                                                                                    type Resolved<T> = {
                                                                                                                                                    state: State.fulfilled;
                                                                                                                                                    value: T;
                                                                                                                                                    };

                                                                                                                                                      Package Files (1)

                                                                                                                                                      Dependencies (0)

                                                                                                                                                      No dependencies.

                                                                                                                                                      Dev Dependencies (0)

                                                                                                                                                      No dev dependencies.

                                                                                                                                                      Peer Dependencies (0)

                                                                                                                                                      No peer dependencies.

                                                                                                                                                      Badge

                                                                                                                                                      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                                                                                                                      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/rsvp.

                                                                                                                                                      • Markdown
                                                                                                                                                        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/rsvp)
                                                                                                                                                      • HTML
                                                                                                                                                        <a href="https://www.jsdocs.io/package/@types/rsvp"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>