package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-queue-0.1.5.tbz
sha256=bfa7bde9af02bb83d5ca39d54797b05b43317f033d93d24ca86ca42ff8ef83a1
sha512=6bb8727f65116e8042aa1fb77b3c14851ce5238f7b412adadf0f8e5b52d5310e8f06056c96bf76a82ffd7096753f49b2b0482f41e18ee1ca94310b874fe81bf9
doc/sihl.queue/Queue/Job/Fields/index.html
Module Job.Fields
Source
Source
val retry_delay :
([< `Read | `Set_and_create ], 'a t, Utils.Time.duration)
Fieldslib.Field.t_with_perm
Source
val failed :
([< `Read | `Set_and_create ],
'a t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm
Source
val handle :
([< `Read | `Set_and_create ],
'a t,
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, Core.Ctx.t -> 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, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'd ->
('c -> Core.Ctx.t -> 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,
Core.Ctx.t ->
input:'l ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'k ->
('c -> Core.Ctx.t -> input:'h -> (unit, string) Result.t Lwt.t) * 'm) ->
failed:
(([< `Read | `Set_and_create ],
'n t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'm ->
('c -> 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, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'q ->
('c -> Utils.Time.duration) * 's) ->
'b ->
('c -> 'h t) * 's
Source
val create :
name:string ->
with_context:(Core.Ctx.t -> Core.Ctx.t) ->
input_to_string:('a -> string option) ->
string_to_input:(string option -> ('a, string) Result.t) ->
handle:(Core.Ctx.t -> input:'a -> (unit, string) Result.t Lwt.t) ->
failed:(Core.Ctx.t -> (unit, string) Result.t Lwt.t) ->
max_tries:int ->
retry_delay: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, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Core.Ctx.t ->
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,
Core.Ctx.t ->
input:'f ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Core.Ctx.t ->
input:'d ->
(unit, string) Result.t Lwt.t) ->
failed:
(([< `Read | `Set_and_create ],
'g t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
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, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
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, Core.Ctx.t -> 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,
Core.Ctx.t ->
input:'e ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
unit) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
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, 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, Core.Ctx.t -> 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,
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,
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, 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, Core.Ctx.t -> 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,
Core.Ctx.t ->
input:'e ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
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, 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, Core.Ctx.t -> 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,
Core.Ctx.t ->
input:'e ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
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, 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, Core.Ctx.t -> 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,
Core.Ctx.t ->
input:'f ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'b) ->
failed:
(([< `Read | `Set_and_create ],
'g t,
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, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'b) ->
'b list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>