sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Client.KernelSourcetype t = private {init : unit -> unit Lwt.t;deinit : unit -> unit Lwt.t;Called before stopping the kernel.
*)exec : count:int -> string -> exec_status_ok or_error Lwt.t;is_complete : string -> is_complete_reply Lwt.t;language : string;language_version : int list;file_extension : string;mime_type : string option;codemirror_mode : string option;complete : pos:int -> string -> completion_status Lwt.t;inspect : inspect_request -> inspect_reply_ok or_error Lwt.t;history : history_request -> string list Lwt.t;}Type of Jupyter kernels.
A kernel is responsible for running snippets of code from cells in a notebook, or command line statements. It can also answer semantic queries such as completion, inspection, etc.
The type is a private alias as off 0.8. Use make to build.
val make :
?banner:string ->
?file_extension:string ->
?mime_type:string ->
?codemirror_mode:string ->
?init:(unit -> unit Lwt.t) ->
?deinit:(unit -> unit Lwt.t) ->
?is_complete:(string -> is_complete_reply Lwt.t) ->
?complete:(pos:int -> string -> completion_status Lwt.t) ->
?inspect:(inspect_request -> inspect_reply_ok or_error Lwt.t) ->
?history:(history_request -> string list Lwt.t) ->
language_version:int list ->
language:string ->
exec:(count:int -> string -> exec_status_ok or_error Lwt.t) ->
unit ->
tMake a kernel