package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-0.1.4.tbz
sha256=49fe887d05083b37523cd6e7ca35239822c561fe7109dd383c30aeb4259a7b98
sha512=4135ad42a75fb9adc3e853a466b696d9ee6d7a9d8acf0cee9fd5f5485679a517f524ce704e2d153df4a7c4f1d14df9f94ab2a8fbe5b36e744b505daab1d40f3d
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)"
>