package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module type S = sig ... end
val make_generic : driver:('input, 's) Bonsai_test.Arrow.Driver.t -> string_of_result:('result -> string) -> get_result:('s -> 'result) -> get_extra:('s -> 'extra) -> schedule_action:('s -> 'action -> unit) -> (module S with type action = 'action and type extra = 'extra and type input = 'input)
val make : driver:('input, 'result) Bonsai_test.Arrow.Driver.t -> sexp_of_result:('result -> Core.Sexp.t) -> (module S with type action = Core.Nothing.t and type extra = unit and type input = 'input)
val make_with_inject : driver: ('input, 'result * ('action -> unit Bonsai_web.Vdom.Effect.t)) Bonsai_test.Arrow.Driver.t -> sexp_of_result:('result -> Core.Sexp.t) -> (module S with type action = 'action and type extra = unit and type input = 'input)
val make_string : driver:('input, string) Bonsai_test.Arrow.Driver.t -> (module S with type action = Core.Nothing.t and type extra = unit and type input = 'input)
val make_string_with_inject : driver: ('input, string * ('action -> unit Bonsai_web.Vdom.Effect.t)) Bonsai_test.Arrow.Driver.t -> (module S with type action = 'action and type extra = unit and type input = 'input)
val make_vdom : ?vdom_to_string:(Bonsai_web.Vdom.Node.t -> string) -> driver:('input, Bonsai_web.Vdom.Node.t) Bonsai_test.Arrow.Driver.t -> (module Bonsai_web_test__.Helpers_intf.S_vdom with type action = Core.Nothing.t and type extra = unit and type input = 'input)
val make_vdom_with_extra : ?vdom_to_string:(Bonsai_web.Vdom.Node.t -> string) -> driver:('input, Bonsai_web.Vdom.Node.t * 'extra) Bonsai_test.Arrow.Driver.t -> (module Bonsai_web_test__.Helpers_intf.S_vdom with type action = Core.Nothing.t and type extra = 'extra and type input = 'input)
val make_vdom_with_inject : ?vdom_to_string:(Bonsai_web.Vdom.Node.t -> string) -> driver: ('input, Bonsai_web.Vdom.Node.t * ('action -> unit Bonsai_web.Vdom.Effect.t)) Bonsai_test.Arrow.Driver.t -> (module Bonsai_web_test__.Helpers_intf.S_vdom with type action = 'action and type extra = unit and type input = 'input)
OCaml

Innovation. Community. Security.