package ezjs_extension

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Browser_common.Storage end
class type storageChange = object ... end
class type storageArea = object ... end
class type storage = object ... end
val storage : storage Ezjs_min.t
val managed : storageArea Ezjs_min.t
val get : ?key:string -> storageArea Ezjs_min_lwt.t -> ('a, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result Lwt.t
val get_arr : ?keys:string list -> storageArea Ezjs_min_lwt.t -> ('a, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result Lwt.t
val get_o : ?obj:'a -> storageArea Ezjs_min_lwt.t -> ('b, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result Lwt.t
val getBytesInUse : ?key:string -> storageArea Ezjs_min_lwt.t -> (int, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result Lwt.t
val getBytesInUse_list : ?keys:string list -> storageArea Ezjs_min_lwt.t -> (int, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result Lwt.t
val set : ?callback:(unit -> 'a) -> storageArea Ezjs_min_lwt.t -> 't10 -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val remove : ?callback:(unit -> 'a) -> storageArea Ezjs_min_lwt.t -> string -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t
val clear : ?callback:(unit -> 'a) -> storageArea Ezjs_min_lwt.t -> ('a option, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min_lwt.result Lwt.t