Skip to content
A job scheduler for node and browser environment
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmarks
src
test
.gitignore
.npmignore
.prettierrc
.travis.yml
.yo-rc.json
README.md
global.d.ts
index.ts
package.json
test.ts
tsconfig.json
tslint.json
typedoc.json
yarn.lock

README.md

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
You can’t perform that action at this time.