package sihl

  1. Overview
  2. Docs
The modular functional web framework

Install

Dune Dependency

Authors

Maintainers

Sources

sihl-queue-0.1.9.tbz
sha256=77f0813d75a88edd14b3396e8b848d94c31c28803299b4b1bd4b78b1de4a2e80
sha512=a8907bc35ea14b7c3a7d638979a2a274860202b2de58b84b5621a4908db001ace493d8aa2e5383f4c8b1847efd256938592f63ef75a41521284b3640d3a7442a

doc/sihl.queue/Sihl_queue_core/WorkableJob/Fields/index.html

Module WorkableJob.FieldsSource

Sourceval names : string list
Sourceval retry_delay : ([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm
Sourceval max_tries : ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm
Sourceval failed : ([< `Read | `Set_and_create ], t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm
Sourceval work : ([< `Read | `Set_and_create ], t, input:string option -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm
Sourceval name : ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm
Sourceval 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
Sourceval 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
Sourceval 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
Sourceval 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
Sourceval 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
Sourceval map_poly : ([< `Read | `Set_and_create ], t, 'a) Fieldslib.Field.user -> 'a list
Sourceval 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
Sourceval 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
Sourceval 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
Sourcemodule Direct : sig ... end
OCaml

Innovation. Community. Security.