@types/rx-core-binding

  • Version 4.0.7
  • Published
  • 7 kB
  • 1 dependency
  • MIT license

Install

npm i @types/rx-core-binding
yarn add @types/rx-core-binding
pnpm add @types/rx-core-binding

Overview

TypeScript definitions for rx-core-binding

Index

Namespaces

namespace Rx

namespace Rx {}

    variable AsyncSubject

    const AsyncSubject: AsyncSubjectStatic;

      variable BehaviorSubject

      const BehaviorSubject: BehaviorSubjectStatic;

        variable ConnectableObservable

        const ConnectableObservable: ConnectableObservableStatic;

          variable ReplaySubject

          const ReplaySubject: ReplaySubjectStatic;

            variable Subject

            const Subject: SubjectStatic;

              interface AsyncSubject

              interface AsyncSubject<T> extends Subject<T> {}

                interface AsyncSubjectStatic

                interface AsyncSubjectStatic {}

                  construct signature

                  new <T>(): AsyncSubject<T>;

                    interface BehaviorSubject

                    interface BehaviorSubject<T> extends Subject<T> {}

                      method getValue

                      getValue: () => T;

                        interface BehaviorSubjectStatic

                        interface BehaviorSubjectStatic {}

                          construct signature

                          new <T>(initialValue: T): BehaviorSubject<T>;

                            interface ConnectableObservable

                            interface ConnectableObservable<T> extends Observable<T> {}

                              method connect

                              connect: () => IDisposable;

                                method refCount

                                refCount: () => Observable<T>;

                                  interface ConnectableObservableStatic

                                  interface ConnectableObservableStatic {}

                                    construct signature

                                    new <T>(): ConnectableObservable<T>;

                                      interface ISubject

                                      interface ISubject<T> extends Observable<T>, Observer<T>, IDisposable {}

                                        method hasObservers

                                        hasObservers: () => boolean;

                                          interface Observable

                                          interface Observable<T> {}

                                            method multicast

                                            multicast: {
                                            (subject: Observable<T>): ConnectableObservable<T>;
                                            <TResult>(
                                            subjectSelector: () => ISubject<T>,
                                            selector: (source: ConnectableObservable<T>) => Observable<T>
                                            ): Observable<T>;
                                            };

                                              method publish

                                              publish: {
                                              (): ConnectableObservable<T>;
                                              <TResult>(
                                              selector: (source: ConnectableObservable<T>) => Observable<TResult>
                                              ): Observable<TResult>;
                                              };

                                                method publishLast

                                                publishLast: {
                                                (): ConnectableObservable<T>;
                                                <TResult>(
                                                selector: (source: ConnectableObservable<T>) => Observable<TResult>
                                                ): Observable<TResult>;
                                                };

                                                  method publishValue

                                                  publishValue: {
                                                  (initialValue: T): ConnectableObservable<T>;
                                                  <TResult>(
                                                  selector: (source: ConnectableObservable<T>) => Observable<TResult>,
                                                  initialValue: T
                                                  ): Observable<TResult>;
                                                  };

                                                    method replay

                                                    replay: {
                                                    (
                                                    selector?: boolean,
                                                    bufferSize?: number,
                                                    window?: number,
                                                    scheduler?: IScheduler
                                                    ): ConnectableObservable<T>;
                                                    (
                                                    selector: (source: ConnectableObservable<T>) => Observable<T>,
                                                    bufferSize?: number,
                                                    window?: number,
                                                    scheduler?: IScheduler
                                                    ): Observable<T>;
                                                    };

                                                      method share

                                                      share: () => Observable<T>;
                                                      • Returns an observable sequence that shares a single subscription to the underlying sequence. This operator is a specialization of publish which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.

                                                        Returns

                                                        An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.

                                                        Example 1

                                                        var res = source.share();

                                                      method shareReplay

                                                      shareReplay: (
                                                      bufferSize?: number,
                                                      window?: number,
                                                      scheduler?: IScheduler
                                                      ) => Observable<T>;

                                                        method shareValue

                                                        shareValue: (initialValue: T) => Observable<T>;
                                                        • Returns an observable sequence that shares a single subscription to the underlying sequence and starts with an initialValue. This operator is a specialization of publishValue which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.

                                                          Parameter initialValue

                                                          Initial value received by observers upon subscription.

                                                          Returns

                                                          An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.

                                                          Example 1

                                                          var res = source.shareValue(42);

                                                        interface ReplaySubject

                                                        interface ReplaySubject<T> extends Subject<T> {}

                                                          interface ReplaySubjectStatic

                                                          interface ReplaySubjectStatic {}

                                                            construct signature

                                                            new <T>(
                                                            bufferSize?: number,
                                                            window?: number,
                                                            scheduler?: IScheduler
                                                            ): ReplaySubject<T>;

                                                              interface Subject

                                                              interface Subject<T> extends ISubject<T> {}

                                                                interface SubjectStatic

                                                                interface SubjectStatic {}

                                                                  method create

                                                                  create: <T>(observer?: Observer<T>, observable?: Observable<T>) => ISubject<T>;

                                                                    construct signature

                                                                    new <T>(): Subject<T>;

                                                                      namespace rx-core-binding

                                                                      module 'rx-core-binding' {}

                                                                        variable AsyncSubject

                                                                        const AsyncSubject: AsyncSubjectStatic;

                                                                          variable BehaviorSubject

                                                                          const BehaviorSubject: BehaviorSubjectStatic;

                                                                            variable ConnectableObservable

                                                                            const ConnectableObservable: ConnectableObservableStatic;

                                                                              variable ReplaySubject

                                                                              const ReplaySubject: ReplaySubjectStatic;

                                                                                variable Subject

                                                                                const Subject: SubjectStatic;

                                                                                  interface AsyncSubject

                                                                                  interface AsyncSubject<T> extends Subject<T> {}

                                                                                    interface AsyncSubjectStatic

                                                                                    interface AsyncSubjectStatic {}

                                                                                      construct signature

                                                                                      new <T>(): AsyncSubject<T>;

                                                                                        interface BehaviorSubject

                                                                                        interface BehaviorSubject<T> extends Subject<T> {}

                                                                                          method getValue

                                                                                          getValue: () => T;

                                                                                            interface BehaviorSubjectStatic

                                                                                            interface BehaviorSubjectStatic {}

                                                                                              construct signature

                                                                                              new <T>(initialValue: T): BehaviorSubject<T>;

                                                                                                interface ConnectableObservable

                                                                                                interface ConnectableObservable<T> extends Observable<T> {}

                                                                                                  method connect

                                                                                                  connect: () => IDisposable;

                                                                                                    method refCount

                                                                                                    refCount: () => Observable<T>;

                                                                                                      interface ConnectableObservableStatic

                                                                                                      interface ConnectableObservableStatic {}

                                                                                                        construct signature

                                                                                                        new <T>(): ConnectableObservable<T>;

                                                                                                          interface ISubject

                                                                                                          interface ISubject<T> extends Observable<T>, Observer<T>, IDisposable {}

                                                                                                            method hasObservers

                                                                                                            hasObservers: () => boolean;

                                                                                                              interface Observable

                                                                                                              interface Observable<T> {}

                                                                                                                method multicast

                                                                                                                multicast: {
                                                                                                                (subject: Observable<T>): ConnectableObservable<T>;
                                                                                                                <TResult>(
                                                                                                                subjectSelector: () => ISubject<T>,
                                                                                                                selector: (source: ConnectableObservable<T>) => Observable<T>
                                                                                                                ): Observable<T>;
                                                                                                                };

                                                                                                                  method publish

                                                                                                                  publish: {
                                                                                                                  (): ConnectableObservable<T>;
                                                                                                                  <TResult>(
                                                                                                                  selector: (source: ConnectableObservable<T>) => Observable<TResult>
                                                                                                                  ): Observable<TResult>;
                                                                                                                  };

                                                                                                                    method publishLast

                                                                                                                    publishLast: {
                                                                                                                    (): ConnectableObservable<T>;
                                                                                                                    <TResult>(
                                                                                                                    selector: (source: ConnectableObservable<T>) => Observable<TResult>
                                                                                                                    ): Observable<TResult>;
                                                                                                                    };

                                                                                                                      method publishValue

                                                                                                                      publishValue: {
                                                                                                                      (initialValue: T): ConnectableObservable<T>;
                                                                                                                      <TResult>(
                                                                                                                      selector: (source: ConnectableObservable<T>) => Observable<TResult>,
                                                                                                                      initialValue: T
                                                                                                                      ): Observable<TResult>;
                                                                                                                      };

                                                                                                                        method replay

                                                                                                                        replay: {
                                                                                                                        (
                                                                                                                        selector?: boolean,
                                                                                                                        bufferSize?: number,
                                                                                                                        window?: number,
                                                                                                                        scheduler?: IScheduler
                                                                                                                        ): ConnectableObservable<T>;
                                                                                                                        (
                                                                                                                        selector: (source: ConnectableObservable<T>) => Observable<T>,
                                                                                                                        bufferSize?: number,
                                                                                                                        window?: number,
                                                                                                                        scheduler?: IScheduler
                                                                                                                        ): Observable<T>;
                                                                                                                        };

                                                                                                                          method share

                                                                                                                          share: () => Observable<T>;
                                                                                                                          • Returns an observable sequence that shares a single subscription to the underlying sequence. This operator is a specialization of publish which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.

                                                                                                                            Returns

                                                                                                                            An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.

                                                                                                                            Example 1

                                                                                                                            var res = source.share();

                                                                                                                          method shareReplay

                                                                                                                          shareReplay: (
                                                                                                                          bufferSize?: number,
                                                                                                                          window?: number,
                                                                                                                          scheduler?: IScheduler
                                                                                                                          ) => Observable<T>;

                                                                                                                            method shareValue

                                                                                                                            shareValue: (initialValue: T) => Observable<T>;
                                                                                                                            • Returns an observable sequence that shares a single subscription to the underlying sequence and starts with an initialValue. This operator is a specialization of publishValue which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.

                                                                                                                              Parameter initialValue

                                                                                                                              Initial value received by observers upon subscription.

                                                                                                                              Returns

                                                                                                                              An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.

                                                                                                                              Example 1

                                                                                                                              var res = source.shareValue(42);

                                                                                                                            interface ReplaySubject

                                                                                                                            interface ReplaySubject<T> extends Subject<T> {}

                                                                                                                              interface ReplaySubjectStatic

                                                                                                                              interface ReplaySubjectStatic {}

                                                                                                                                construct signature

                                                                                                                                new <T>(
                                                                                                                                bufferSize?: number,
                                                                                                                                window?: number,
                                                                                                                                scheduler?: IScheduler
                                                                                                                                ): ReplaySubject<T>;

                                                                                                                                  interface Subject

                                                                                                                                  interface Subject<T> extends ISubject<T> {}

                                                                                                                                    interface SubjectStatic

                                                                                                                                    interface SubjectStatic {}

                                                                                                                                      method create

                                                                                                                                      create: <T>(observer?: Observer<T>, observable?: Observable<T>) => ISubject<T>;

                                                                                                                                        construct signature

                                                                                                                                        new <T>(): Subject<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-core-binding.

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