package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-0.1.1.tbz
sha256=eac58e5ee9c869aa3b0f0bcee936b01c53bf7fe1febb42edd607268dfb11f4e9
sha512=012b6cf1cf6af0966059761b4916ea8aa590aa8d5809a6f480cb17e23ee10c3b9245062c4f0cf9ad98ab950391c0827c9780999d39fa16a93f7aab4b12f9ab8c
doc/sihl.queue/Queue/Service/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 ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm
Source
val handle :
([< `Read | `Set_and_create ],
'a t,
Core.Ctx.t ->
input:'a ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm
Source
val string_to_input :
([< `Read | `Set_and_create ],
'a t,
Base.string Base.option ->
('a, Base.string) Base.Result.t)
Fieldslib.Field.t_with_perm
Source
val input_to_string :
([< `Read | `Set_and_create ], 'a t, 'a -> Base.string Base.option)
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, Base.string)
Fieldslib.Field.t_with_perm ->
'b ->
('c -> Base.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 -> Base.string Base.option)
Fieldslib.Field.t_with_perm ->
'f ->
('c -> 'h -> Base.string Base.option) * 'i) ->
string_to_input:
(([< `Read | `Set_and_create ],
'j t,
Base.string Base.option ->
('j, Base.string) Base.Result.t)
Fieldslib.Field.t_with_perm ->
'i ->
('c -> Base.string Base.option -> ('h, Base.string) Base.Result.t) * 'k) ->
handle:
(([< `Read | `Set_and_create ],
'l t,
Core.Ctx.t ->
input:'l ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'k ->
('c ->
Core.Ctx.t ->
input:'h ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
* 'm) ->
failed:
(([< `Read | `Set_and_create ],
'n t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'm ->
('c -> Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) * 'o) ->
max_tries:
(([< `Read | `Set_and_create ], 'p t, Base.int) Fieldslib.Field.t_with_perm ->
'o ->
('c -> Base.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:Base.string ->
with_context:(Core.Ctx.t -> Core.Ctx.t) ->
input_to_string:('a -> Base.string Base.option) ->
string_to_input:(Base.string Base.option -> ('a, Base.string) Base.Result.t) ->
handle:
(Core.Ctx.t -> input:'a -> (Base.unit, Base.string) Base.Result.t Lwt.t) ->
failed:(Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) ->
max_tries:Base.int ->
retry_delay:Utils.Time.duration ->
'a t
Source
val map :
name:
(([< `Read | `Set_and_create ], 'a t, Base.string)
Fieldslib.Field.t_with_perm ->
Base.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 -> Base.string Base.option)
Fieldslib.Field.t_with_perm ->
'd ->
Base.string Base.option) ->
string_to_input:
(([< `Read | `Set_and_create ],
'e t,
Base.string Base.option ->
('e, Base.string) Base.Result.t)
Fieldslib.Field.t_with_perm ->
Base.string Base.option ->
('d, Base.string) Base.Result.t) ->
handle:
(([< `Read | `Set_and_create ],
'f t,
Core.Ctx.t ->
input:'f ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Core.Ctx.t ->
input:'d ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
failed:
(([< `Read | `Set_and_create ],
'g t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
max_tries:
(([< `Read | `Set_and_create ], 'h t, Base.int) Fieldslib.Field.t_with_perm ->
Base.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, Base.string)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
with_context:
(([< `Read | `Set_and_create ], 'b t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
input_to_string:
(([< `Read | `Set_and_create ], 'c t, 'c -> Base.string Base.option)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
string_to_input:
(([< `Read | `Set_and_create ],
'd t,
Base.string Base.option ->
('d, Base.string) Base.Result.t)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
handle:
(([< `Read | `Set_and_create ],
'e t,
Core.Ctx.t ->
input:'e ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
max_tries:
(([< `Read | `Set_and_create ], 'g t, Base.int) Fieldslib.Field.t_with_perm ->
Base.unit) ->
retry_delay:
(([< `Read | `Set_and_create ], 'h t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
Base.unit
Source
val fold :
init:'a ->
name:
('a ->
([< `Read | `Set_and_create ], 'b t, Base.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 -> Base.string Base.option)
Fieldslib.Field.t_with_perm ->
'g) ->
string_to_input:
('g ->
([< `Read | `Set_and_create ],
'h t,
Base.string Base.option ->
('h, Base.string) Base.Result.t)
Fieldslib.Field.t_with_perm ->
'i) ->
handle:
('i ->
([< `Read | `Set_and_create ],
'j t,
Core.Ctx.t ->
input:'j ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'k) ->
failed:
('k ->
([< `Read | `Set_and_create ],
'l t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'm) ->
max_tries:
('m ->
([< `Read | `Set_and_create ], 'n t, Base.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, Base.string)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
with_context:
(([< `Read | `Set_and_create ], 'b t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
input_to_string:
(([< `Read | `Set_and_create ], 'c t, 'c -> Base.string Base.option)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
string_to_input:
(([< `Read | `Set_and_create ],
'd t,
Base.string Base.option ->
('d, Base.string) Base.Result.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
handle:
(([< `Read | `Set_and_create ],
'e t,
Core.Ctx.t ->
input:'e ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
max_tries:
(([< `Read | `Set_and_create ], 'g t, Base.int) Fieldslib.Field.t_with_perm ->
Base.bool) ->
retry_delay:
(([< `Read | `Set_and_create ], 'h t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
Base.bool
Source
val exists :
name:
(([< `Read | `Set_and_create ], 'a t, Base.string)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
with_context:
(([< `Read | `Set_and_create ], 'b t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
input_to_string:
(([< `Read | `Set_and_create ], 'c t, 'c -> Base.string Base.option)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
string_to_input:
(([< `Read | `Set_and_create ],
'd t,
Base.string Base.option ->
('d, Base.string) Base.Result.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
handle:
(([< `Read | `Set_and_create ],
'e t,
Core.Ctx.t ->
input:'e ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
failed:
(([< `Read | `Set_and_create ],
'f t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
max_tries:
(([< `Read | `Set_and_create ], 'g t, Base.int) Fieldslib.Field.t_with_perm ->
Base.bool) ->
retry_delay:
(([< `Read | `Set_and_create ], 'h t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
Base.bool
Source
val to_list :
name:
(([< `Read | `Set_and_create ], 'a t, Base.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 -> Base.string Base.option)
Fieldslib.Field.t_with_perm ->
'b) ->
string_to_input:
(([< `Read | `Set_and_create ],
'e t,
Base.string Base.option ->
('e, Base.string) Base.Result.t)
Fieldslib.Field.t_with_perm ->
'b) ->
handle:
(([< `Read | `Set_and_create ],
'f t,
Core.Ctx.t ->
input:'f ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'b) ->
failed:
(([< `Read | `Set_and_create ],
'g t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'b) ->
max_tries:
(([< `Read | `Set_and_create ], 'h t, Base.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)"
>