@types/rx-lite-coincidence

  • Version 4.0.6
  • Published
  • 6.03 kB
  • 1 dependency
  • MIT license

Install

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

Overview

TypeScript definitions for rx-lite-coincidence

Index

Namespaces

namespace Rx

namespace Rx {}

    interface Observable

    interface Observable<T> {}

      method buffer

      buffer: {
      <TBufferOpening>(bufferOpenings: Observable<TBufferOpening>): Observable<
      T[]
      >;
      <TBufferClosing>(
      bufferClosingSelector: () => Observable<TBufferClosing>
      ): Observable<T[]>;
      <TBufferOpening, TBufferClosing>(
      bufferOpenings: Observable<TBufferOpening>,
      bufferClosingSelector: () => Observable<TBufferClosing>
      ): Observable<T[]>;
      };

        method groupJoin

        groupJoin: <TRight, TDurationLeft, TDurationRight, TResult>(
        right: Observable<TRight>,
        leftDurationSelector: (leftItem: T) => Observable<TDurationLeft>,
        rightDurationSelector: (rightItem: TRight) => Observable<TDurationRight>,
        resultSelector: (leftItem: T, rightItem: Observable<TRight>) => TResult
        ) => Observable<TResult>;

          method join

          join: <TRight, TDurationLeft, TDurationRight, TResult>(
          right: Observable<TRight>,
          leftDurationSelector: (leftItem: T) => Observable<TDurationLeft>,
          rightDurationSelector: (rightItem: TRight) => Observable<TDurationRight>,
          resultSelector: (leftItem: T, rightItem: TRight) => TResult
          ) => Observable<TResult>;

            method pairwise

            pairwise: () => Observable<T[]>;
            • Returns a new observable that triggers on the second and subsequent triggerings of the input observable. The Nth triggering of the input observable passes the arguments from the N-1th and Nth triggering as a pair. The argument passed to the N-1th triggering is held in hidden internal state until the Nth triggering occurs.

              Returns

              An observable that triggers on successive pairs of observations from the input observable as an array.

            method partition

            partition: (
            predicate: (value: T, index: number, source: Observable<T>) => boolean,
            thisArg?: any
            ) => Array<Observable<T>>;
            • Returns two observables which partition the observations of the source by the given function. The first will trigger observations for those values for which the predicate returns true. The second will trigger observations for those values where the predicate returns false. The predicate is executed once for each subscribed observer. Both also propagate all error observations arising from the source and each completes when the source completes.

              Parameter predicate

              The function to determine which output Observable will trigger a particular observation.

              Returns

              An array of observables. The first triggers when the predicate returns true, and the second triggers when the predicate returns false.

            method window

            window: {
            <TWindowOpening>(windowOpenings: Observable<TWindowOpening>): Observable<
            Observable<T>
            >;
            <TWindowClosing>(
            windowClosingSelector: () => Observable<TWindowClosing>
            ): Observable<Observable<T>>;
            <TWindowOpening, TWindowClosing>(
            windowOpenings: Observable<TWindowOpening>,
            windowClosingSelector: () => Observable<TWindowClosing>
            ): Observable<Observable<T>>;
            };

              namespace rx-lite-coincidence

              module 'rx-lite-coincidence' {}

                interface Observable

                interface Observable<T> {}

                  method buffer

                  buffer: {
                  <TBufferOpening>(bufferOpenings: Observable<TBufferOpening>): Observable<
                  T[]
                  >;
                  <TBufferClosing>(
                  bufferClosingSelector: () => Observable<TBufferClosing>
                  ): Observable<T[]>;
                  <TBufferOpening, TBufferClosing>(
                  bufferOpenings: Observable<TBufferOpening>,
                  bufferClosingSelector: () => Observable<TBufferClosing>
                  ): Observable<T[]>;
                  };

                    method groupJoin

                    groupJoin: <TRight, TDurationLeft, TDurationRight, TResult>(
                    right: Observable<TRight>,
                    leftDurationSelector: (leftItem: T) => Observable<TDurationLeft>,
                    rightDurationSelector: (rightItem: TRight) => Observable<TDurationRight>,
                    resultSelector: (leftItem: T, rightItem: Observable<TRight>) => TResult
                    ) => Observable<TResult>;

                      method join

                      join: <TRight, TDurationLeft, TDurationRight, TResult>(
                      right: Observable<TRight>,
                      leftDurationSelector: (leftItem: T) => Observable<TDurationLeft>,
                      rightDurationSelector: (rightItem: TRight) => Observable<TDurationRight>,
                      resultSelector: (leftItem: T, rightItem: TRight) => TResult
                      ) => Observable<TResult>;

                        method pairwise

                        pairwise: () => Observable<T[]>;
                        • Returns a new observable that triggers on the second and subsequent triggerings of the input observable. The Nth triggering of the input observable passes the arguments from the N-1th and Nth triggering as a pair. The argument passed to the N-1th triggering is held in hidden internal state until the Nth triggering occurs.

                          Returns

                          An observable that triggers on successive pairs of observations from the input observable as an array.

                        method partition

                        partition: (
                        predicate: (value: T, index: number, source: Observable<T>) => boolean,
                        thisArg?: any
                        ) => Array<Observable<T>>;
                        • Returns two observables which partition the observations of the source by the given function. The first will trigger observations for those values for which the predicate returns true. The second will trigger observations for those values where the predicate returns false. The predicate is executed once for each subscribed observer. Both also propagate all error observations arising from the source and each completes when the source completes.

                          Parameter predicate

                          The function to determine which output Observable will trigger a particular observation.

                          Returns

                          An array of observables. The first triggers when the predicate returns true, and the second triggers when the predicate returns false.

                        method window

                        window: {
                        <TWindowOpening>(windowOpenings: Observable<TWindowOpening>): Observable<
                        Observable<T>
                        >;
                        <TWindowClosing>(
                        windowClosingSelector: () => Observable<TWindowClosing>
                        ): Observable<Observable<T>>;
                        <TWindowOpening, TWindowClosing>(
                        windowOpenings: Observable<TWindowOpening>,
                        windowClosingSelector: () => Observable<TWindowClosing>
                        ): Observable<Observable<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-coincidence.

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