Module Start.App_input
The input of an application-level component is a value of type ('input, 'outgoing) App_input.t
.
val input : ('input, _) t -> 'input
The
input
field is used to access the'input
to the application that is set from the imperativeHandle.t
value.
val inject_outgoing : (_, 'outgoing) t -> 'outgoing -> Bonsai_web__.Import.Vdom.Event.t
inject_outgoing
is used to inject values of the type'outgoing
into events to communicate with the imperativeHandle.t
holder. Any values injected viainject_outgoing
will be present in the'outgoing Pipe.Reader.t
that can be acquired viaHandle.outgoing
.