Bonsai.With_incrConstructs a bonsai component whose result is always the same as its input Incremental node.
Same as Bonsai.pure but allows the user to optimize using Incremental.
Creates a bonsai component where the given cutoff is applied to the incremental node for the component's model, preventing a component from being recalculated unnecessarily.
See Incr.set_cutoff.
val value_cutoff : cutoff:'input Incremental.Cutoff.t -> ('input, 'input) tCreates a bonsai component where the given cutoff is applied to the incremental node as input passes through the component, preventing a component from being recalculated unnecessarily.
See Incr.set_cutoff.
Transforms the result of a component, exposing the incrementality for optimization purposes.
Transforms the input of a component, exposing the incrementality for optimization purposes. The signature of f is reversed from most other map functions.
module type S = sig ... endval of_module :
('input, 'model, 'action, 'result) component_s ->
default_model:'model ->
('input, 'result) t