Skip to content

Class

LeafRenderer

LeafRenderer implements the full Leaf language pipeline.
final class LeafRenderer

Overview

It must be configured before use with the appropriate LeafConfiguration and consituent threadsafe protocol-implementating modules (an NIO EventLoop, LeafCache, LeafSource, and potentially any number of custom LeafTag additions to the language).

Additional instances of LeafRenderer can then be created using these shared modules to allow concurrent rendering, potentially with unique per-instance scoped data via userInfo.

Topics

Initializers

Instance Properties

Instance Methods