sketch/lustre

Functions

pub fn compose(view: fn(a) -> b, cache: Cache) -> fn(a) -> b

Wrap the view function in lustre.

pub fn setup(options: Options) -> Result(Cache, SketchError)

setup is a shortcut for sketch.create_cache. It simplify usage for lustre.

Search Document