@sadzurami/scheduler-registry
v1.0.1
Published
Scheduler registry for my projects
Downloads
4
Maintainers
Readme
scheduler-registry
Scheduler registry for my projects
Install
yarn add https://github.com/Sadzurami/scheduler-registry --dev
Usage
main.ts
import { SchedulerRegistry } from '@sadzurami/scheduler-registry';
const registry = new SchedulerRegistry();
const timeout = setTimeout(() => {}, 1000);
registry.addTimeout('timeout-name', timeout);