GithubHelp home page GithubHelp logo

Comments (7)

chiliec avatar chiliec commented on June 18, 2024

@Otann what about to add in Readme prefer way to work with updates?

from morse.

Otann avatar Otann commented on June 18, 2024

or maybe have a channel returned directly if no "handler" function is passed

that is a very fine addition to the API design, thank you

from morse.

Otann avatar Otann commented on June 18, 2024

@chiliec I suppose it depends on the complexity of the application a lot, whether it should be sync or async, channels or manifolds, polling or not.

But this is something that could I could do for the template for sure.

from morse.

chiliec avatar chiliec commented on June 18, 2024

@Otann I think most people want to copy-paste code and use polling for rapidly start new bot, but suspension taking requests after some normal working time — totally impermissible 😕

from morse.

Otann avatar Otann commented on June 18, 2024

@dixel how about if a handler is a channel, you get updates there?
this sounds like a decent interface and easily doable: f0708f0

from morse.

dixel avatar dixel commented on June 18, 2024

@Otann yes, this interface is actually perfect for some of the scenarios that I have, I suppose this can be closed then when you're ready to give it a go.

from morse.

Otann avatar Otann commented on June 18, 2024

released as 0.4.0

from morse.

Related Issues (20)

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.