ts-scheduler

A job scheduler for node and browser environment

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ts-scheduler
8.0.44 years ago5 years agoMinified + gzip package size for ts-scheduler in KB

Readme

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