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, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm
val work : ([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.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) -> work: (([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'c -> ('b -> input:string option -> (unit, string) Result.t Lwt.t) * 'd) -> failed: (([< `Read | `Set_and_create ], t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'd -> ('b -> unit -> (unit, string) Result.t Lwt.t) * 'e) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'e -> ('b -> int) * 'f) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'f -> ('b -> Sihl_utils.Time.duration) * 'g) -> 'a -> ('b -> t) * 'g
val create : name:string -> work:(input:string option -> (unit, string) Result.t Lwt.t) -> failed:(unit -> (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) -> work: (([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> input:string option -> (unit, string) Result.t Lwt.t) -> failed: (([< `Read | `Set_and_create ], t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit -> (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) -> work: (([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit) -> failed: (([< `Read | `Set_and_create ], t, unit -> (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) -> work: ('b -> ([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'c) -> failed: ('c -> ([< `Read | `Set_and_create ], t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'd) -> max_tries: ('d -> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'e) -> retry_delay: ('e -> ([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'f) -> 'f
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) -> work: (([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> failed: (([< `Read | `Set_and_create ], t, unit -> (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) -> work: (([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> failed: (([< `Read | `Set_and_create ], t, unit -> (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) -> work: (([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a) -> failed: (([< `Read | `Set_and_create ], t, unit -> (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.