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 restart : unit -> unit
val connectNative : string -> Extension_utils.Runtime.port Ezjs_min.t
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 onConnectNative : (Extension_utils.Runtime.port Ezjs_min.t -> unit) -> unit
val onMessage : ('a Ezjs_min.t -> Extension_utils.Runtime.messageSender Ezjs_min.t -> ('b Ezjs_min.t -> bool Ezjs_min.t) -> unit) -> unit
val onMessageExternal : ('a Ezjs_min.t -> Extension_utils.Runtime.messageSender Ezjs_min.t -> ('a Ezjs_min.t -> bool Ezjs_min.t) -> unit) -> unit
val onRestartRequired : (Ezjs_min.js_string Ezjs_min.t -> unit) -> unit
OCaml

Innovation. Community. Security.