Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.englishtown.vertx.promises.impl;
 
 
When starter helper. Sets the when nextTick to run on the vert.x event loop
public class VertxExecutor implements Executor {
    private final Vertx vertx;
    @Inject
    public VertxExecutor(Vertx vertx) {
        this. = vertx;
    }

    
    @Override
    public void execute(Runnable command) {
        .runOnContext(aVoid -> command.run());
    }
New to GrepCode? Check out our FAQ X