Last active
July 11, 2019 19:15
-
-
Save AlexeySoshin/cb0ba2036fd1c3c49f083cf8cca0f06a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public SQLClient getConnection(Handler<AsyncResult<SQLConnection>> handler) { | |
Context ctx = vertx.getOrCreateContext(); | |
getConnection(ctx, ar -> ctx.runOnContext(v -> handler.handle(ar))); | |
return this; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment