GithubHelp home page GithubHelp logo

Pause timer periodic? about pausable_timer HOT 7 CLOSED

razein97 avatar razein97 commented on August 29, 2024
Pause timer periodic?

from pausable_timer.

Comments (7)

razein97 avatar razein97 commented on August 29, 2024 1

Yes. Thank you!

from pausable_timer.

llucax avatar llucax commented on August 29, 2024

Hi @razein97, I really don't understand what's not working or what is not working as you expect. Can you provide more information? Ideally a minimal example to reproduce the issue?

Thanks!

from pausable_timer.

razein97 avatar razein97 commented on August 29, 2024

I think it's my bad.
I came across this when I was searching for how to pause timer.periodic()
Does this have the same functionality...run a function every x duration.
Thanks.

from pausable_timer.

llucax avatar llucax commented on August 29, 2024

There is no built-in implementation of PausableTimer.periodic(), but you can build one with it, there is even an example in the README. If there is enough requests to have it built-in, I might add it.

Shall I close the issue then?

from pausable_timer.

tricaricom avatar tricaricom commented on August 29, 2024

The example in the README is not periodic. I think you should add a periodic() constructor like Timer.periodic().

from pausable_timer.

llucax avatar llucax commented on August 29, 2024

I will create a new issue for this, as it is the second time it comes around. Next time feel free to create an issue yourself (or even better, submit a pull request :)

#45.

from pausable_timer.

llucax avatar llucax commented on August 29, 2024

I'll lock this issue as it was a question. Feel free to ask any questions in the discussions.

from pausable_timer.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.