@types/rx-lite-async

  • Version 4.0.2
  • Published
  • 1 dependency
  • MIT license

Install

npm i @types/rx-lite-async
yarn add @types/rx-lite-async
pnpm add @types/rx-lite-async

Overview

TypeScript definitions for rx-lite-async

Index

Namespaces

namespace Rx

namespace Rx {}

    interface ObservableStatic

    interface ObservableStatic {}

      method start

      start: <T>(func: () => T, context?: any, scheduler?: any) => any;

        method startAsync

        startAsync: <T>(functionAsync: () => IPromise<T>) => any;
        • Invokes the asynchronous function, surfacing the result through an observable sequence.

          Parameter functionAsync

          Asynchronous function which returns a Promise to run.

          Returns

          An observable sequence exposing the function's result value, or an exception.

        method toAsync

        toAsync: {
        <TResult>(
        func: () => TResult,
        context?: any,
        scheduler?: any
        ): () => Observable<TResult>;
        <T1, TResult>(func: (arg1: T1) => TResult, context?: any, scheduler?: any): (
        arg1: T1
        ) => any;
        <T1, TResult>(
        func: (arg1?: T1) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1?: T1) => any;
        <T1, TResult>(
        func: (...args: T1[]) => TResult,
        context?: any,
        scheduler?: any
        ): (...args: T1[]) => any;
        <T1, T2, TResult>(
        func: (arg1: T1, arg2: T2) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2) => any;
        <T1, T2, TResult>(
        func: (arg1: T1, arg2?: T2) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2?: T2) => any;
        <T1, T2, TResult>(
        func: (arg1?: T1, arg2?: T2) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1?: T1, arg2?: T2) => any;
        <T1, T2, TResult>(
        func: (arg1: T1, ...args: T2[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, ...args: T2[]) => any;
        <T1, T2, TResult>(
        func: (arg1?: T1, ...args: T2[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1?: T1, ...args: T2[]) => any;
        <T1, T2, T3, TResult>(
        func: (arg1: T1, arg2: T2, arg3: T3) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2, arg3: T3) => any;
        <T1, T2, T3, TResult>(
        func: (arg1: T1, arg2: T2, arg3?: T3) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2, arg3?: T3) => any;
        <T1, T2, T3, TResult>(
        func: (arg1: T1, arg2?: T2, arg3?: T3) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2?: T2, arg3?: T3) => any;
        <T1, T2, T3, TResult>(
        func: (arg1?: T1, arg2?: T2, arg3?: T3) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1?: T1, arg2?: T2, arg3?: T3) => any;
        <T1, T2, T3, TResult>(
        func: (arg1: T1, arg2: T2, ...args: T3[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2, ...args: T3[]) => any;
        <T1, T2, T3, TResult>(
        func: (arg1: T1, arg2?: T2, ...args: T3[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2?: T2, ...args: T3[]) => any;
        <T1, T2, T3, TResult>(
        func: (arg1?: T1, arg2?: T2, ...args: T3[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1?: T1, arg2?: T2, ...args: T3[]) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1: T1, arg2: T2, arg3: T3, arg4?: T4) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2, arg3: T3, arg4?: T4) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1: T1, arg2: T2, arg3?: T3, arg4?: T4) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2, arg3?: T3, arg4?: T4) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1: T1, arg2?: T2, arg3?: T3, arg4?: T4) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2?: T2, arg3?: T3, arg4?: T4) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1?: T1, arg2?: T2, arg3?: T3, arg4?: T4) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1?: T1, arg2?: T2, arg3?: T3, arg4?: T4) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1: T1, arg2: T2, arg3: T3, ...args: T4[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2, arg3: T3, ...args: T4[]) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1: T1, arg2: T2, arg3?: T3, ...args: T4[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2: T2, arg3?: T3, ...args: T4[]) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1: T1, arg2?: T2, arg3?: T3, ...args: T4[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1: T1, arg2?: T2, arg3?: T3, ...args: T4[]) => any;
        <T1, T2, T3, T4, TResult>(
        func: (arg1?: T1, arg2?: T2, arg3?: T3, ...args: T4[]) => TResult,
        context?: any,
        scheduler?: any
        ): (arg1?: T1, arg2?: T2, arg3?: T3, ...args: T4[]) => any;
        };

          namespace rx-lite-async

          module 'rx-lite-async' {}

            interface ObservableStatic

            interface ObservableStatic {}

              method start

              start: <T>(func: () => T, context?: any, scheduler?: any) => any;

                method startAsync

                startAsync: <T>(functionAsync: () => IPromise<T>) => any;
                • Invokes the asynchronous function, surfacing the result through an observable sequence.

                  Parameter functionAsync

                  Asynchronous function which returns a Promise to run.

                  Returns

                  An observable sequence exposing the function's result value, or an exception.

                method toAsync

                toAsync: {
                <TResult>(
                func: () => TResult,
                context?: any,
                scheduler?: any
                ): () => Observable<TResult>;
                <T1, TResult>(func: (arg1: T1) => TResult, context?: any, scheduler?: any): (
                arg1: T1
                ) => any;
                <T1, TResult>(
                func: (arg1?: T1) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1?: T1) => any;
                <T1, TResult>(
                func: (...args: T1[]) => TResult,
                context?: any,
                scheduler?: any
                ): (...args: T1[]) => any;
                <T1, T2, TResult>(
                func: (arg1: T1, arg2: T2) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2) => any;
                <T1, T2, TResult>(
                func: (arg1: T1, arg2?: T2) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2?: T2) => any;
                <T1, T2, TResult>(
                func: (arg1?: T1, arg2?: T2) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1?: T1, arg2?: T2) => any;
                <T1, T2, TResult>(
                func: (arg1: T1, ...args: T2[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, ...args: T2[]) => any;
                <T1, T2, TResult>(
                func: (arg1?: T1, ...args: T2[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1?: T1, ...args: T2[]) => any;
                <T1, T2, T3, TResult>(
                func: (arg1: T1, arg2: T2, arg3: T3) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2, arg3: T3) => any;
                <T1, T2, T3, TResult>(
                func: (arg1: T1, arg2: T2, arg3?: T3) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2, arg3?: T3) => any;
                <T1, T2, T3, TResult>(
                func: (arg1: T1, arg2?: T2, arg3?: T3) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2?: T2, arg3?: T3) => any;
                <T1, T2, T3, TResult>(
                func: (arg1?: T1, arg2?: T2, arg3?: T3) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1?: T1, arg2?: T2, arg3?: T3) => any;
                <T1, T2, T3, TResult>(
                func: (arg1: T1, arg2: T2, ...args: T3[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2, ...args: T3[]) => any;
                <T1, T2, T3, TResult>(
                func: (arg1: T1, arg2?: T2, ...args: T3[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2?: T2, ...args: T3[]) => any;
                <T1, T2, T3, TResult>(
                func: (arg1?: T1, arg2?: T2, ...args: T3[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1?: T1, arg2?: T2, ...args: T3[]) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1: T1, arg2: T2, arg3: T3, arg4?: T4) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2, arg3: T3, arg4?: T4) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1: T1, arg2: T2, arg3?: T3, arg4?: T4) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2, arg3?: T3, arg4?: T4) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1: T1, arg2?: T2, arg3?: T3, arg4?: T4) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2?: T2, arg3?: T3, arg4?: T4) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1?: T1, arg2?: T2, arg3?: T3, arg4?: T4) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1?: T1, arg2?: T2, arg3?: T3, arg4?: T4) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1: T1, arg2: T2, arg3: T3, ...args: T4[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2, arg3: T3, ...args: T4[]) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1: T1, arg2: T2, arg3?: T3, ...args: T4[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2: T2, arg3?: T3, ...args: T4[]) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1: T1, arg2?: T2, arg3?: T3, ...args: T4[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1: T1, arg2?: T2, arg3?: T3, ...args: T4[]) => any;
                <T1, T2, T3, T4, TResult>(
                func: (arg1?: T1, arg2?: T2, arg3?: T3, ...args: T4[]) => TResult,
                context?: any,
                scheduler?: any
                ): (arg1?: T1, arg2?: T2, arg3?: T3, ...args: T4[]) => any;
                };

                  Package Files (1)

                  Dependencies (1)

                  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/rx-lite-async.

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