@types/rx-lite-virtualtime

  • Version 4.0.3
  • Published
  • 1 dependency
  • MIT license

Install

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

Overview

TypeScript definitions for rx-lite-virtualtime

Index

Namespaces

namespace Rx

namespace Rx {}

    variable HistoricalScheduler

    const HistoricalScheduler: new (
    initialClock: number,
    comparer: (first: number, second: number) => number
    ) => HistoricalScheduler;

      interface HistoricalScheduler

      interface HistoricalScheduler extends VirtualTimeScheduler<number, number> {}

        interface VirtualTimeScheduler

        interface VirtualTimeScheduler<TAbsolute, TRelative> extends Scheduler {}

          property isEnabled

          isEnabled: boolean;

            method add

            add: (from: TAbsolute, by: TRelative) => TAbsolute;

              method advanceBy

              advanceBy: (time: TRelative) => void;

                method advanceTo

                advanceTo: (time: TAbsolute) => void;

                  method getNext

                  getNext: () => any;

                    method scheduleAbsolute

                    scheduleAbsolute: (dueTime: TAbsolute, action: () => void) => any;

                      method scheduleAbsoluteWithState

                      scheduleAbsoluteWithState: <TState>(
                      state: TState,
                      dueTime: TAbsolute,
                      action: (scheduler: any, state: TState) => any
                      ) => any;

                        method scheduleRelative

                        scheduleRelative: (dueTime: TRelative, action: () => void) => any;

                          method scheduleRelativeWithState

                          scheduleRelativeWithState: <TState>(
                          state: TState,
                          dueTime: TRelative,
                          action: (scheduler: any, state: TState) => any
                          ) => any;

                            method sleep

                            sleep: (time: TRelative) => void;

                              method start

                              start: () => any;

                                method stop

                                stop: () => void;

                                  method toDateTimeOffset

                                  toDateTimeOffset: (duetime: TAbsolute) => number;

                                    method toRelative

                                    toRelative: (duetime: number) => TRelative;

                                      namespace rx-lite-virtualtime

                                      module 'rx-lite-virtualtime' {}

                                        variable HistoricalScheduler

                                        const HistoricalScheduler: new (
                                        initialClock: number,
                                        comparer: (first: number, second: number) => number
                                        ) => HistoricalScheduler;

                                          interface HistoricalScheduler

                                          interface HistoricalScheduler extends VirtualTimeScheduler<number, number> {}

                                            interface VirtualTimeScheduler

                                            interface VirtualTimeScheduler<TAbsolute, TRelative> extends Scheduler {}

                                              property isEnabled

                                              isEnabled: boolean;

                                                method add

                                                add: (from: TAbsolute, by: TRelative) => TAbsolute;

                                                  method advanceBy

                                                  advanceBy: (time: TRelative) => void;

                                                    method advanceTo

                                                    advanceTo: (time: TAbsolute) => void;

                                                      method getNext

                                                      getNext: () => any;

                                                        method scheduleAbsolute

                                                        scheduleAbsolute: (dueTime: TAbsolute, action: () => void) => any;

                                                          method scheduleAbsoluteWithState

                                                          scheduleAbsoluteWithState: <TState>(
                                                          state: TState,
                                                          dueTime: TAbsolute,
                                                          action: (scheduler: any, state: TState) => any
                                                          ) => any;

                                                            method scheduleRelative

                                                            scheduleRelative: (dueTime: TRelative, action: () => void) => any;

                                                              method scheduleRelativeWithState

                                                              scheduleRelativeWithState: <TState>(
                                                              state: TState,
                                                              dueTime: TRelative,
                                                              action: (scheduler: any, state: TState) => any
                                                              ) => any;

                                                                method sleep

                                                                sleep: (time: TRelative) => void;

                                                                  method start

                                                                  start: () => any;

                                                                    method stop

                                                                    stop: () => void;

                                                                      method toDateTimeOffset

                                                                      toDateTimeOffset: (duetime: TAbsolute) => number;

                                                                        method toRelative

                                                                        toRelative: (duetime: number) => TRelative;

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

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