Walk the event loop handles of the Bare process.
npm i bare-walk-handles
const walkHandles = require('bare-walk-handles')
for (const handle of walkHandles()) {
if (handle.type === walkHandles.constants.TIMER) {
console.log('timer', handle)
}
}
Apache-2.0