@webex/common-timers
Timer wrappers for the Cisco Webex JS SDK. See https://webex.github.io/webex-js-sdk/
Install
npm install --save @webex/common-timers
Usage
Works just like setTimeout
and setInterval
, but doesn't wedge a node process open.
import {safeSetTimeout, safeSetInterval} from '@webex/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-2019 Cisco and/or its affiliates. All Rights Reserved.