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/WorkableJob/Fields/index.html
Module WorkableJob.Fields
Source
Source
val retry_delay :
([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm
Source
val failed :
([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm
Source
val work :
([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm
Source
val with_context :
([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm
Source
val make_creator :
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
'a ->
('b -> Base.string) * 'c) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'c ->
('b -> Core.Ctx.t -> Core.Ctx.t) * 'd) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'd ->
('b ->
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
* 'e) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'e ->
('b -> Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) * 'f) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'f ->
('b -> Base.int) * 'g) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'g ->
('b -> Utils.Time.duration) * 'h) ->
'a ->
('b -> t) * 'h
Source
val create :
name:Base.string ->
with_context:(Core.Ctx.t -> Core.Ctx.t) ->
work:
(Core.Ctx.t ->
input:Base.string Base.option ->
(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 ->
t
Source
val map :
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
Base.string) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Core.Ctx.t ->
Core.Ctx.t) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
failed:
(([< `Read | `Set_and_create ],
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 ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.int) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
Utils.Time.duration) ->
t
Source
val iter :
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
Base.unit) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
failed:
(([< `Read | `Set_and_create ],
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 ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.unit) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
Base.unit
Source
val fold :
init:'a ->
name:
('a ->
([< `Read | `Set_and_create ], t, Base.string)
Fieldslib.Field.t_with_perm ->
'b) ->
with_context:
('b ->
([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'c) ->
work:
('c ->
([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'd) ->
failed:
('d ->
([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'e) ->
max_tries:
('e ->
([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'f) ->
retry_delay:
('f ->
([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'g) ->
'g
Source
val for_all :
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
Base.bool) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
failed:
(([< `Read | `Set_and_create ],
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 ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.bool) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
Base.bool
Source
val exists :
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
Base.bool) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
failed:
(([< `Read | `Set_and_create ],
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 ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.bool) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
Base.bool
Source
val to_list :
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
'a) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
'a) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'a) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
'a) ->
'a list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>