ts-scheduler
TypeScript icon, indicating that this package has built-in type declarations

8.0.4 • Public • Published

ts-scheduler

Build Status npm

A job scheduler for node and browser environment

Index

Installation

npm:

npm i ts-scheduler --save

yarn:

yarn add ts-scheduler

Usage

import {scheduler} from 'ts-scheduler'
 
const cancellable = scheduler.asap(new Executable(() => console.log('Hi')))
 
cancellable.cancel() // immediately aborts and doesn't print any thing

/ts-scheduler/

    Package Sidebar

    Install

    npm i ts-scheduler

    Weekly Downloads

    7

    Version

    8.0.4

    License

    ISC

    Unpacked Size

    846 kB

    Total Files

    47

    Last publish

    Collaborators

    • tusharmathur