Skip to content

How to reset timer before auto complete? #5011

@karthicktkm

Description

@karthicktkm

Hi Guys,
I'm using one function using timer in angular7. If I clicked some other function it will also call that same time and previous timer count.

For example.
I set timer = 10sec.
Initially loaded page then I clicked other function but now it's just 8sec over, now timer also will call.
After I clicked function timer will actually reload the function after 10th sec. but it will reload 2th sec of page loading and 10th seconds of function click.

Please tell me guys what can I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions