Frontend
Sourceval initialise :
string list ->
string ->
(unit -> unit) ->
(Js_top_worker_client_fut.rpc, Js_top_worker_rpc__Toplevel_api_gen.err)
Fut.result
type ostate = {
id : string;
output_id : string;
solution : string option;
ty : block_ty;
mime_only : bool;
rpc : Js_top_worker_client_fut.rpc;
}
val init :
?doc:string ->
?exts:Code_mirror.Extension.t list ->
unit ->
Code_mirror.State.EditorState.t * Code_mirror.View.EditorView.t
val make_editor :
Js_top_worker_client_fut.rpc ->
int ->
Brr.El.t ->
(Code_mirror.State.EditorState.t * Code_mirror.View.EditorView.t) option