package ezjs_extension

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
class type onInstalledEvent = object ... end
class type runtime = object ... end
val runtime : runtime Ezjs_min.t
val last_error : unit -> Ezjs_min.error Ezjs_min.t
val getManifest : unit -> 'a Ezjs_min.t
val getURL : string -> string
val reload : unit -> unit
val onStartup : (unit -> unit) -> unit
val onInstalled : (onInstalledEvent Ezjs_min.t -> unit) -> unit
val onSuspend : (unit -> unit) -> unit
val onSuspendCanceled : (unit -> unit) -> unit
val onUpdateAvailabale : ('a Ezjs_min.t -> unit) -> unit
val onConnect : (Extension_utils.Runtime.port Ezjs_min.t -> unit) -> unit
val onConnectExternal : (Extension_utils.Runtime.port Ezjs_min.t -> unit) -> unit
val onMessage : ('a Ezjs_min.t -> Ezjs_min.js_string Ezjs_min.t -> ('a Ezjs_min.t -> bool Ezjs_min.t) Ezjs_min.callback -> unit) -> unit
val onMessageExternal : ('a Ezjs_min.t -> Ezjs_min.js_string Ezjs_min.t -> ('a Ezjs_min.t -> bool Ezjs_min.t) Ezjs_min.callback -> unit) -> unit
val onRestartRequired : (Ezjs_min.js_string Ezjs_min.t -> unit) -> unit
OCaml

Innovation. Community. Security.