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/Direct/index.html
Module Fields.Direct
Source
Source
val iter :
'a t ->
name:
(([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm ->
'a t ->
string ->
'c) ->
with_context:
(([< `Read | `Set_and_create ], 'd t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> Sihl_core.Ctx.t) ->
'e) ->
input_to_string:
(([< `Read | `Set_and_create ], 'f t, 'f -> string option)
Fieldslib.Field.t_with_perm ->
'a t ->
('a -> string option) ->
'g) ->
string_to_input:
(([< `Read | `Set_and_create ],
'h t,
string option ->
('h, string) Result.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(string option -> ('a, string) Result.t) ->
'i) ->
handle:
(([< `Read | `Set_and_create ],
'j t,
Sihl_core.Ctx.t ->
input:'j ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> input:'a -> (unit, string) Result.t Lwt.t) ->
'k) ->
failed:
(([< `Read | `Set_and_create ],
'l t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) ->
'm) ->
max_tries:
(([< `Read | `Set_and_create ], 'n t, int) Fieldslib.Field.t_with_perm ->
'a t ->
int ->
'o) ->
retry_delay:
(([< `Read | `Set_and_create ], 'p t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'a t ->
Sihl_utils.Time.duration ->
'q) ->
'q
Source
val fold :
'a t ->
init:'b ->
name:
('b ->
([< `Read | `Set_and_create ], 'c t, string) Fieldslib.Field.t_with_perm ->
'a t ->
string ->
'd) ->
with_context:
('d ->
([< `Read | `Set_and_create ], 'e t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> Sihl_core.Ctx.t) ->
'f) ->
input_to_string:
('f ->
([< `Read | `Set_and_create ], 'g t, 'g -> string option)
Fieldslib.Field.t_with_perm ->
'a t ->
('a -> string option) ->
'h) ->
string_to_input:
('h ->
([< `Read | `Set_and_create ],
'i t,
string option ->
('i, string) Result.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(string option -> ('a, string) Result.t) ->
'j) ->
handle:
('j ->
([< `Read | `Set_and_create ],
'k t,
Sihl_core.Ctx.t ->
input:'k ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> input:'a -> (unit, string) Result.t Lwt.t) ->
'l) ->
failed:
('l ->
([< `Read | `Set_and_create ],
'm t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) ->
'n) ->
max_tries:
('n ->
([< `Read | `Set_and_create ], 'o t, int) Fieldslib.Field.t_with_perm ->
'a t ->
int ->
'p) ->
retry_delay:
('p ->
([< `Read | `Set_and_create ], 'q t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'a t ->
Sihl_utils.Time.duration ->
'r) ->
'r
Source
val for_all :
'a t ->
name:
(([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm ->
'a t ->
string ->
bool) ->
with_context:
(([< `Read | `Set_and_create ], 'c t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> Sihl_core.Ctx.t) ->
bool) ->
input_to_string:
(([< `Read | `Set_and_create ], 'd t, 'd -> string option)
Fieldslib.Field.t_with_perm ->
'a t ->
('a -> string option) ->
bool) ->
string_to_input:
(([< `Read | `Set_and_create ],
'e t,
string option ->
('e, string) Result.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(string option -> ('a, string) Result.t) ->
bool) ->
handle:
(([< `Read | `Set_and_create ],
'f t,
Sihl_core.Ctx.t ->
input:'f ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> input:'a -> (unit, string) Result.t Lwt.t) ->
bool) ->
failed:
(([< `Read | `Set_and_create ],
'g t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) ->
bool) ->
max_tries:
(([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm ->
'a t ->
int ->
bool) ->
retry_delay:
(([< `Read | `Set_and_create ], 'i t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'a t ->
Sihl_utils.Time.duration ->
bool) ->
bool
Source
val exists :
'a t ->
name:
(([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm ->
'a t ->
string ->
bool) ->
with_context:
(([< `Read | `Set_and_create ], 'c t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> Sihl_core.Ctx.t) ->
bool) ->
input_to_string:
(([< `Read | `Set_and_create ], 'd t, 'd -> string option)
Fieldslib.Field.t_with_perm ->
'a t ->
('a -> string option) ->
bool) ->
string_to_input:
(([< `Read | `Set_and_create ],
'e t,
string option ->
('e, string) Result.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(string option -> ('a, string) Result.t) ->
bool) ->
handle:
(([< `Read | `Set_and_create ],
'f t,
Sihl_core.Ctx.t ->
input:'f ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> input:'a -> (unit, string) Result.t Lwt.t) ->
bool) ->
failed:
(([< `Read | `Set_and_create ],
'g t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) ->
bool) ->
max_tries:
(([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm ->
'a t ->
int ->
bool) ->
retry_delay:
(([< `Read | `Set_and_create ], 'i t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'a t ->
Sihl_utils.Time.duration ->
bool) ->
bool
Source
val to_list :
'a t ->
name:
(([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm ->
'a t ->
string ->
'c) ->
with_context:
(([< `Read | `Set_and_create ], 'd t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> Sihl_core.Ctx.t) ->
'c) ->
input_to_string:
(([< `Read | `Set_and_create ], 'e t, 'e -> string option)
Fieldslib.Field.t_with_perm ->
'a t ->
('a -> string option) ->
'c) ->
string_to_input:
(([< `Read | `Set_and_create ],
'f t,
string option ->
('f, string) Result.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(string option -> ('a, string) Result.t) ->
'c) ->
handle:
(([< `Read | `Set_and_create ],
'g t,
Sihl_core.Ctx.t ->
input:'g ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> input:'a -> (unit, string) Result.t Lwt.t) ->
'c) ->
failed:
(([< `Read | `Set_and_create ],
'h t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) ->
'c) ->
max_tries:
(([< `Read | `Set_and_create ], 'i t, int) Fieldslib.Field.t_with_perm ->
'a t ->
int ->
'c) ->
retry_delay:
(([< `Read | `Set_and_create ], 'j t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'a t ->
Sihl_utils.Time.duration ->
'c) ->
'c list
Source
val map :
'a t ->
name:
(([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm ->
'a t ->
string ->
string) ->
with_context:
(([< `Read | `Set_and_create ], 'c t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> Sihl_core.Ctx.t) ->
Sihl_core.Ctx.t ->
Sihl_core.Ctx.t) ->
input_to_string:
(([< `Read | `Set_and_create ], 'd t, 'd -> string option)
Fieldslib.Field.t_with_perm ->
'a t ->
('a -> string option) ->
'e ->
string option) ->
string_to_input:
(([< `Read | `Set_and_create ],
'f t,
string option ->
('f, string) Result.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(string option -> ('a, string) Result.t) ->
string option ->
('e, string) Result.t) ->
handle:
(([< `Read | `Set_and_create ],
'g t,
Sihl_core.Ctx.t ->
input:'g ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> input:'a -> (unit, string) Result.t Lwt.t) ->
Sihl_core.Ctx.t ->
input:'e ->
(unit, string) Result.t Lwt.t) ->
failed:
(([< `Read | `Set_and_create ],
'h t,
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a t ->
(Sihl_core.Ctx.t -> (unit, string) Result.t Lwt.t) ->
Sihl_core.Ctx.t ->
(unit, string) Result.t Lwt.t) ->
max_tries:
(([< `Read | `Set_and_create ], 'i t, int) Fieldslib.Field.t_with_perm ->
'a t ->
int ->
int) ->
retry_delay:
(([< `Read | `Set_and_create ], 'j t, Sihl_utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'a t ->
Sihl_utils.Time.duration ->
Sihl_utils.Time.duration) ->
'e t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>