Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "context" var resolving to the verticle context #15

Closed
vietj opened this issue Mar 27, 2015 · 2 comments
Closed

Add a "context" var resolving to the verticle context #15

vietj opened this issue Mar 27, 2015 · 2 comments

Comments

@vietj
Copy link
Contributor

vietj commented Mar 27, 2015

Currently it's not possible to obtain directly the verticle context in JavaScript like the vertx object

@DanielJoyce
Copy link

Currently works fine in 3.3.2

var cfg = Vertx.currentContext().config();

A note to others looking trying to grab configuration passed via -conf

@StephenOTT
Copy link

@DanielJoyce is there a reason why this conflicts the examples provided in the JS docs ? (vert-x3/vertx-config#39)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants