Js_of_ocaml_toplevel_protocol.Worker_msgTypes of the messages exchanged with a toplevel in a Web Worker.
module Message_id : sig ... endmodule Fd : sig ... endmodule Lexbuf : sig ... endtype _ host_msg = | Init : {} -> unit host_msg| Reset : unit host_msg| Check : {} -> unit host_msg| Clear_check : unit host_msg| Execute : {} -> bool host_msg| Use_string : {filename : string option;print_outcome : bool;answer_fd : Fd.t;code : string;} -> bool host_msg| Use_mod_string : {answer_fd : Fd.t;print_outcome : bool;modname : string;sig_code : string option;code : string;} -> bool host_msg| Import_scripts : string list -> unit host_msg| Open_lexbuf : {} -> unit host_msg| Step : {} -> step_result host_msg| Close_lexbuf : {lexbuf : Lexbuf.t;} -> unit host_msgtype toploop_msg = | Write : Fd.t * string -> toploop_msg| ReturnSuccess : Message_id.t
* 'a msg_ty
* 'a
* Wrapped_intf.warning list -> toploop_msg| ReturnError : Message_id.t
* Wrapped_intf.error
* Wrapped_intf.warning list -> toploop_msg