package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val names : string list
val retry_delay : ([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm
val max_tries : ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm
val failed : ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm
val work : ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm
val with_context : ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm
val name : ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm
val make_creator : name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'a -> ('b -> string) * 'c) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'c -> ('b -> Sihl_core.Ctx.t -> Sihl_core.Ctx.t) * 'd) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'd -> ('b -> Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) * 'e) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'e -> ('b -> Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) * 'f) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'f -> ('b -> int) * 'g) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'g -> ('b -> Sihl_utils.Time.duration) * 'h) -> 'a -> ('b -> t) * 'h
val create : name:string -> with_context:(Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> work: (Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) -> failed:(Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) -> max_tries:int -> retry_delay:Sihl_utils.Time.duration -> t
val map : name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> string) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> int) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> Sihl_utils.Time.duration) -> t
val iter : name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> unit) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> unit) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> unit) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> unit) -> unit
val fold : init:'a -> name: ('a -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'b) -> with_context: ('b -> ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'c) -> work: ('c -> ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'd) -> failed: ('d -> ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'e) -> max_tries: ('e -> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'f) -> retry_delay: ('f -> ([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'g) -> 'g
val map_poly : ([< `Read | `Set_and_create ], t, 'a) Fieldslib.Field.user -> 'a list
val for_all : name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> bool) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> bool) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> bool) -> bool
val exists : name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> bool) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> bool) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> bool) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> bool) -> bool
val to_list : name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'a) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'a) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'a) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a) -> 'a list
module Direct : sig ... end
OCaml

Innovation. Community. Security.