package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-queue-0.1.7.tbz
sha256=a432c28b88610b8ef914aa93d1be5bf3ad4b357ebaa8e95848e981ea30611cd4
sha512=e85a2c2935973826ef29191d6a784dca53660c8df55a98174d7326a8a73865cf7f35bfae034b179d85f30bb809985da3c6d170608da2e9ac9763b8fd1f8a1a4e
doc/sihl.queue/Sihl_queue_core/Job/Fields/index.html
Module Job.Fields
Source
Source
val retry_delay :
([< `Read | `Set_and_create ], 'a t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm
Source
val failed :
([< `Read | `Set_and_create ],
'a t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm
Source
val handle :
([< `Read | `Set_and_create ],
'a t,
Sihl_core.Ctx.t ->
input:'a ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm
Source
val with_context :
([< `Read | `Set_and_create ], 'a t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm
Source
val make_creator :
name:
(([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm ->
'b ->
('c -> string) * 'd) ->
with_context:
(([< `Read | `Set_and_create ], 'e t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'd ->
('c -> Sihl_core.Ctx.t -> Sihl_core.Ctx.t) * 'f) ->
input_to_string:
(([< `Read | `Set_and_create ], 'g t, 'g -> string option)
Fieldslib.Field.t_with_perm ->
'f ->
('c -> 'h -> string option) * 'i) ->
string_to_input:
(([< `Read | `Set_and_create ],
'j t,
string option ->
('j, string) Result.t)
Fieldslib.Field.t_with_perm ->
'i ->
('c -> string option -> ('h, string) Result.t) * 'k) ->
handle:
(([< `Read | `Set_and_create ],
'l t,
Sihl_core.Ctx.t ->
input:'l ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'k ->
('c -> Sihl_core.Ctx.t -> input:'h -> (unit, string) Result.t Lwt.t) * 'm) ->
failed:
(([< `Read | `Set_and_create ],
'n t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'm ->
('c -> Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) * 'o) ->
max_tries:
(([< `Read | `Set_and_create ], 'p t, int) Fieldslib.Field.t_with_perm ->
'o ->
('c -> int) * 'q) ->
retry_delay:
(([< `Read | `Set_and_create ], 'r t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'q ->
('c -> Sihl_utils.Time.duration) * 's) ->
'b ->
('c -> 'h t) * 's
Source
val create :
name:string ->
with_context:(Sihl_core.Ctx.t -> Sihl_core.Ctx.t) ->
input_to_string:('a -> string option) ->
string_to_input:(string option -> ('a, string) Result.t) ->
handle:(Sihl_core.Ctx.t -> input:'a -> (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 ->
'a t
Source
val map :
name:
(([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm ->
string) ->
with_context:
(([< `Read | `Set_and_create ], 'b t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Sihl_core.Ctx.t ->
Sihl_core.Ctx.t) ->
input_to_string:
(([< `Read | `Set_and_create ], 'c t, 'c -> string option)
Fieldslib.Field.t_with_perm ->
'd ->
string option) ->
string_to_input:
(([< `Read | `Set_and_create ],
'e t,
string option ->
('e, string) Result.t)
Fieldslib.Field.t_with_perm ->
string option ->
('d, string) Result.t) ->
handle:
(([< `Read | `Set_and_create ],
'f t,
Sihl_core.Ctx.t ->
input:'f ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Sihl_core.Ctx.t ->
input:'d ->
(unit, string) Result.t Lwt.t) ->
failed:
(([< `Read | `Set_and_create ],
'g 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 ], 'h t, int) Fieldslib.Field.t_with_perm ->
int) ->
retry_delay:
(([< `Read | `Set_and_create ], 'i t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
Sihl_utils.Time.duration) ->
'd t
Source
val iter :
name:
(([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm ->
unit) ->
with_context:
(([< `Read | `Set_and_create ], 'b t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
unit) ->
input_to_string:
(([< `Read | `Set_and_create ], 'c t, 'c -> string option)
Fieldslib.Field.t_with_perm ->
unit) ->
string_to_input:
(([< `Read | `Set_and_create ],
'd t,
string option ->
('d, string) Result.t)
Fieldslib.Field.t_with_perm ->
unit) ->
handle:
(([< `Read | `Set_and_create ],
'e t,
Sihl_core.Ctx.t ->
input:'e ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
unit) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
unit) ->
max_tries:
(([< `Read | `Set_and_create ], 'g t, int) Fieldslib.Field.t_with_perm ->
unit) ->
retry_delay:
(([< `Read | `Set_and_create ], 'h t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
unit) ->
unit
Source
val fold :
init:'a ->
name:
('a ->
([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm ->
'c) ->
with_context:
('c ->
([< `Read | `Set_and_create ], 'd t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'e) ->
input_to_string:
('e ->
([< `Read | `Set_and_create ], 'f t, 'f -> string option)
Fieldslib.Field.t_with_perm ->
'g) ->
string_to_input:
('g ->
([< `Read | `Set_and_create ],
'h t,
string option ->
('h, string) Result.t)
Fieldslib.Field.t_with_perm ->
'i) ->
handle:
('i ->
([< `Read | `Set_and_create ],
'j t,
Sihl_core.Ctx.t ->
input:'j ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'k) ->
failed:
('k ->
([< `Read | `Set_and_create ],
'l t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'm) ->
max_tries:
('m ->
([< `Read | `Set_and_create ], 'n t, int) Fieldslib.Field.t_with_perm ->
'o) ->
retry_delay:
('o ->
([< `Read | `Set_and_create ], 'p t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'q) ->
'q
Source
val for_all :
name:
(([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm ->
bool) ->
with_context:
(([< `Read | `Set_and_create ], 'b t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
bool) ->
input_to_string:
(([< `Read | `Set_and_create ], 'c t, 'c -> string option)
Fieldslib.Field.t_with_perm ->
bool) ->
string_to_input:
(([< `Read | `Set_and_create ],
'd t,
string option ->
('d, string) Result.t)
Fieldslib.Field.t_with_perm ->
bool) ->
handle:
(([< `Read | `Set_and_create ],
'e t,
Sihl_core.Ctx.t ->
input:'e ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
max_tries:
(([< `Read | `Set_and_create ], 'g t, int) Fieldslib.Field.t_with_perm ->
bool) ->
retry_delay:
(([< `Read | `Set_and_create ], 'h t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
bool) ->
bool
Source
val exists :
name:
(([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm ->
bool) ->
with_context:
(([< `Read | `Set_and_create ], 'b t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
bool) ->
input_to_string:
(([< `Read | `Set_and_create ], 'c t, 'c -> string option)
Fieldslib.Field.t_with_perm ->
bool) ->
string_to_input:
(([< `Read | `Set_and_create ],
'd t,
string option ->
('d, string) Result.t)
Fieldslib.Field.t_with_perm ->
bool) ->
handle:
(([< `Read | `Set_and_create ],
'e t,
Sihl_core.Ctx.t ->
input:'e ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
max_tries:
(([< `Read | `Set_and_create ], 'g t, int) Fieldslib.Field.t_with_perm ->
bool) ->
retry_delay:
(([< `Read | `Set_and_create ], 'h t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
bool) ->
bool
Source
val to_list :
name:
(([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm ->
'b) ->
with_context:
(([< `Read | `Set_and_create ], 'c t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'b) ->
input_to_string:
(([< `Read | `Set_and_create ], 'd t, 'd -> string option)
Fieldslib.Field.t_with_perm ->
'b) ->
string_to_input:
(([< `Read | `Set_and_create ],
'e t,
string option ->
('e, string) Result.t)
Fieldslib.Field.t_with_perm ->
'b) ->
handle:
(([< `Read | `Set_and_create ],
'f t,
Sihl_core.Ctx.t ->
input:'f ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'b) ->
failed:
(([< `Read | `Set_and_create ],
'g t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'b) ->
max_tries:
(([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm ->
'b) ->
retry_delay:
(([< `Read | `Set_and_create ], 'i t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'b) ->
'b list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>