@types/rx-lite-testing

  • Version 4.0.4
  • Published
  • 6.33 kB
  • 1 dependency
  • MIT license

Install

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

Overview

TypeScript definitions for rx-lite-testing

Index

Namespaces

namespace Rx

namespace Rx {}

    variable MockObserver

    const MockObserver: MockObserverStatic;

      variable ReactiveTest

      const ReactiveTest: {
      created: number;
      subscribed: number;
      disposed: number;
      onNext(ticks: number, value: any): Recorded;
      onError(ticks: number, exception: any): Recorded;
      onCompleted(ticks: number): Recorded;
      subscribe(subscribeAt: number, unsubscribeAt?: number): Subscription;
      };

        variable TestScheduler

        const TestScheduler: new () => TestScheduler;

          class Recorded

          class Recorded {}

            constructor

            constructor(
            time: number,
            value: any,
            equalityComparer?: (x: any, y: any) => boolean
            );

              property time

              time: number;

                property value

                value: any;

                  method equals

                  equals: (other: Recorded) => boolean;

                    method toString

                    toString: () => string;

                      class Subscription

                      class Subscription {}

                        constructor

                        constructor(subscribeAt: number, unsubscribeAt?: number);

                          method equals

                          equals: (other: Subscription) => boolean;

                            interface MockObserver

                            interface MockObserver<T> extends Observer<T> {}

                              property messages

                              messages: Recorded[];

                                interface MockObserverStatic

                                interface MockObserverStatic extends ObserverStatic {}

                                  construct signature

                                  new <T>(scheduler: IScheduler): MockObserver<T>;

                                    interface TestScheduler

                                    interface TestScheduler extends VirtualTimeScheduler<number, number> {}

                                      method createColdObservable

                                      createColdObservable: <T>(...records: Recorded[]) => Observable<T>;

                                        method createHotObservable

                                        createHotObservable: <T>(...records: Recorded[]) => Observable<T>;

                                          method createObserver

                                          createObserver: <T>() => MockObserver<T>;

                                            method startWithCreate

                                            startWithCreate: <T>(create: () => Observable<T>) => MockObserver<T>;

                                              method startWithDispose

                                              startWithDispose: <T>(
                                              create: () => Observable<T>,
                                              disposedAt: number
                                              ) => MockObserver<T>;

                                                method startWithTiming

                                                startWithTiming: <T>(
                                                create: () => Observable<T>,
                                                createdAt: number,
                                                subscribedAt: number,
                                                disposedAt: number
                                                ) => MockObserver<T>;

                                                  namespace rx-lite-testing

                                                  module 'rx-lite-testing' {}

                                                    variable MockObserver

                                                    const MockObserver: MockObserverStatic;

                                                      variable ReactiveTest

                                                      const ReactiveTest: {
                                                      created: number;
                                                      subscribed: number;
                                                      disposed: number;
                                                      onNext(ticks: number, value: any): Recorded;
                                                      onError(ticks: number, exception: any): Recorded;
                                                      onCompleted(ticks: number): Recorded;
                                                      subscribe(subscribeAt: number, unsubscribeAt?: number): Subscription;
                                                      };

                                                        variable TestScheduler

                                                        const TestScheduler: new () => TestScheduler;

                                                          class Recorded

                                                          class Recorded {}

                                                            constructor

                                                            constructor(
                                                            time: number,
                                                            value: any,
                                                            equalityComparer?: (x: any, y: any) => boolean
                                                            );

                                                              property time

                                                              time: number;

                                                                property value

                                                                value: any;

                                                                  method equals

                                                                  equals: (other: Recorded) => boolean;

                                                                    method toString

                                                                    toString: () => string;

                                                                      class Subscription

                                                                      class Subscription {}

                                                                        constructor

                                                                        constructor(subscribeAt: number, unsubscribeAt?: number);

                                                                          method equals

                                                                          equals: (other: Subscription) => boolean;

                                                                            interface MockObserver

                                                                            interface MockObserver<T> extends Observer<T> {}

                                                                              property messages

                                                                              messages: Recorded[];

                                                                                interface MockObserverStatic

                                                                                interface MockObserverStatic extends ObserverStatic {}

                                                                                  construct signature

                                                                                  new <T>(scheduler: IScheduler): MockObserver<T>;

                                                                                    interface TestScheduler

                                                                                    interface TestScheduler extends VirtualTimeScheduler<number, number> {}

                                                                                      method createColdObservable

                                                                                      createColdObservable: <T>(...records: Recorded[]) => Observable<T>;

                                                                                        method createHotObservable

                                                                                        createHotObservable: <T>(...records: Recorded[]) => Observable<T>;

                                                                                          method createObserver

                                                                                          createObserver: <T>() => MockObserver<T>;

                                                                                            method startWithCreate

                                                                                            startWithCreate: <T>(create: () => Observable<T>) => MockObserver<T>;

                                                                                              method startWithDispose

                                                                                              startWithDispose: <T>(
                                                                                              create: () => Observable<T>,
                                                                                              disposedAt: number
                                                                                              ) => MockObserver<T>;

                                                                                                method startWithTiming

                                                                                                startWithTiming: <T>(
                                                                                                create: () => Observable<T>,
                                                                                                createdAt: number,
                                                                                                subscribedAt: number,
                                                                                                disposedAt: number
                                                                                                ) => MockObserver<T>;

                                                                                                  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-testing.

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