@ciscospark/common-timers

Timer wrappers to prevent wedging a process open

Stats

stars šŸŒŸissues āš ļøupdated šŸ› created šŸ£size šŸ‹ļøā€ā™€ļø
@ciscospark/common-timers
Minified + gzip package size for @ciscospark/common-timers in KB

Readme

@ciscospark/common-timers

standard-readme compliant

Timer wrappers for the Cisco Webex JS SDK. See https://webex.github.io/spark-js-sdk/

Install

npm install --save @ciscospark/common-timers

Usage

Works just like setTimeout and setInterval, but doesn't wedge a node process open.

import {safeSetTimeout, safeSetInterval} from '@ciscospark/common-timers';

const timer = safeSetTimeout(() => {}, 1000);

const interval = safeSetInterval(() => {}, 1000);

Maintainers

This package is maintained by Cisco Webex for Developers.

Contribute

Pull requests welcome. Please see CONTRIBUTING.md for more details.

License

Ā© 2016-2018 Cisco and/or its affiliates. All Rights Reserved.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.