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 -> 'd -> ('e -> input:string option -> (unit, string) Result.t Lwt.t) * 'f) -> failed: (([< `Read | `Set_and_create ], t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'g -> ('h -> unit -> (unit, string) Result.t Lwt.t) * 'i) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'j -> ('k -> int) * 'l) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'm -> ('n -> Sihl_utils.Time.duration) * 'o) -> 'p -> ('q -> t) * 'r
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: ('b -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> 'c) -> work: ('d -> ([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'e) -> failed: ('f -> ([< `Read | `Set_and_create ], t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'g) -> max_tries: ('h -> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'i) -> retry_delay: ('j -> ([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'k) -> 'l
val map_poly : ([< `Read | `Set_and_create ], t, 'a) Fieldslib.Field.user -> 'b 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 -> 'b) -> failed: (([< `Read | `Set_and_create ], t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'c) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 'd) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'e) -> 'f list
module Direct : sig ... end