- Type Parameters:
T
- the type of the value to render
- All Superinterfaces:
TemplateSet.Renderable<T>
- Enclosing interface:
TemplateSet
A particular TemplateSet.Renderable
with the ability to expose the index of the
value in a group of elements to the renderer (eg. an array, an iterable, a
stream, a publisher...).
- Since:
- 1.2
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionrender
(BiFunction<Long, T, CompletableFuture<Void>> renderer) Renders a value using the specified renderer accepting the value and its index.Methods inherited from interface io.inverno.mod.irt.TemplateSet.Renderable
render
-
Method Details
-
render
Renders a value using the specified renderer accepting the value and its index.
- Parameters:
renderer
- the renderer to invoke- Returns:
- a future which completes once the renderer is done rendering data to the output
-