@Override
    public void lazyHello(HelloRequest request, AsyncMethodCallback<HelloReply> resultHandler)
            throws TException {

        // You can use the event loop for scheduling a task.
        ServiceRequestContext.current().eventLoop().schedule(() -> {
            resultHandler.onComplete(buildReply(toMessage(request.getName())));
        }, 3, TimeUnit.SECONDS);
    }
Sends a {@link HelloReply} 3 seconds after receiving a request.
examples/thrift/src/main/java/example/armeria/thrift/HelloServiceImpl.java