Skip to content

js setInterval continuing interrupting idletime #163

@ClosedBeans

Description

@ClosedBeans

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[X] support request => Please do not submit support request here, instead see https://github.com/moribvndvs/ng2-idle/blob/master/CONTRIBUTING.md#getting-help

Current behavior
My component has code to refresh data by using setInterval for every 30 seconds. Which is resetting idle time after every 30 seconds.

Expected behavior
It should not count idle time when using js setInterval function.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • @Ng-idle version: 2.x
    11.0.3

  • Angular version: 2.x
    10.x.x

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    All Browsers

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

  • Node: node --version =

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions