Giter VIP home page Giter VIP logo

Comments (4)

Narigo avatar Narigo commented on June 25, 2024

The timer id should be the 'Long' parameter it passes to the handler. I'm
not sure whether it actually can return the id as it might be generated
asynchronously.
Am 20.09.2013 23:27 schrieb "Angelo H" [email protected]:

https://github.com/vert-x/mod-lang-scala/blob/master/src/main/scala/org/vertx/scala/core/package.scala#L75

Vertx Java would return time id to caller. This behavior is disappeared in
scala version. The timer id is important for caller because it can be used
to track what timers are running and scheduled at user's system.

The workaround for this is just use Java version for now like this.

https://github.com/vert-x/mod-lang-scala/blob/master/src/main/scala/org/vertx/scala/core/package.scala#L75


Reply to this email directly or view it on GitHubhttps://github.com//issues/55
.

from mod-lang-scala.

angeloh avatar angeloh commented on June 25, 2024

In java code, it returns the id to caller.

https://github.com/eclipse/vert.x/blob/master/vertx-core/src/main/java/org/vertx/java/core/Vertx.java#L96

from mod-lang-scala.

purplefox avatar purplefox commented on June 25, 2024

Yep, it should be returned from the method, like in the Java api :)

from mod-lang-scala.

Narigo avatar Narigo commented on June 25, 2024

Should be fixed as soon as #63 is merged.

from mod-lang-scala.

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.