Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/rx-lite-virtualtime

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rx-lite-virtualtime

TypeScript definitions for rx-lite-virtualtime

  • 4.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.3K
decreased by-61.09%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/rx-lite-virtualtime

Summary

This package contains type definitions for rx-lite-virtualtime (https://github.com/Reactive-Extensions/RxJS).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rx-lite-virtualtime.

index.d.ts

// Type definitions for rx-lite-virtualtime 4.0
// Project: https://github.com/Reactive-Extensions/RxJS
// Definitions by: gsino <http://www.codeplex.com/site/users/view/gsino>, Igor Oleinikov <https://github.com/Igorbek>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="rx-lite" />

declare namespace Rx {
    interface VirtualTimeScheduler<TAbsolute, TRelative> extends Scheduler {
        // protected constructor(initialClock: TAbsolute, comparer: (first: TAbsolute, second: TAbsolute) => number);

        advanceBy(time: TRelative): void;
        advanceTo(time: TAbsolute): void;
        scheduleAbsolute(dueTime: TAbsolute, action: () => void): IDisposable;
        scheduleAbsoluteWithState<TState>(
            state: TState,
            dueTime: TAbsolute,
            action: (scheduler: IScheduler, state: TState) => IDisposable,
        ): IDisposable;
        scheduleRelative(dueTime: TRelative, action: () => void): IDisposable;
        scheduleRelativeWithState<TState>(
            state: TState,
            dueTime: TRelative,
            action: (scheduler: IScheduler, state: TState) => IDisposable,
        ): IDisposable;
        sleep(time: TRelative): void;
        start(): IDisposable;
        stop(): void;

        isEnabled: boolean;

        /* protected abstract */ add(from: TAbsolute, by: TRelative): TAbsolute;
        /* protected abstract */ toDateTimeOffset(duetime: TAbsolute): number;
        /* protected abstract */ toRelative(duetime: number): TRelative;

        /* protected */ getNext(): internals.ScheduledItem<TAbsolute>;
    }

    interface HistoricalScheduler extends VirtualTimeScheduler<number, number> {
    }

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

declare module "rx-lite-virtualtime" {
    export = Rx;
}

Additional Details

  • Last updated: Wed, 27 Sep 2023 07:12:05 GMT
  • Dependencies: @types/rx-lite
  • Global values: Rx

Credits

These definitions were written by gsino, and Igor Oleinikov.

FAQs

Package last updated on 27 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc