package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-0.1.2.tbz
sha256=69705a3a35f204acfdda62f61056e3f0ec3ef5bcd1df1508be65b066a0b1df9c
sha512=1987d211f56d0261eefbae978065a4e6781d60ad94b08597875307e5cf6e5a1b79787d9c79f784f5a9f77c35203cfd0b488841a07adfd87b0710d6fd65422b94
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)"
>