Options
All
  • Public
  • Public/Protected
  • All
Menu

ts-scheduler - v0.0.0-development

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

Generated using TypeDoc