modules/jooby-thymeleaf/src/main/java/org/jooby/thymeleaf/Thl.java
public Thl doWith(final Consumer<TemplateEngine> callback) {
    requireNonNull(callback, "Callback required.");
    return doWith((e, c) -> callback.accept(e));
  }
public Thl doWith(final Consumer<TemplateEngine> callback) {
    requireNonNull(callback, "Callback required.");
    return doWith((e, c) -> callback.accept(e));
  }
Set a configuration callback.

<pre>{@code
{
use(new Thl().doWith(engine -> {
...
}));
}
}</pre>

@param callback Callback.
@return This module.