package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-queue-0.1.6.tbz
sha256=574c73c97ea0bc57144853b28df6125855a040ef0378f3bf180b4331dde93f9d
sha512=92c474ed3b6609395799f77259fc424af37dcad53095773ca2f2cdd4757a1607a5b53b6594cd7b6ddabeb40ebba67bb9544ff0f31dc228c87cfe015afa520aaa
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 ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm
Source
val work :
([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:string option ->
(unit, string) 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, string) Fieldslib.Field.t_with_perm ->
'a ->
('b -> 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:string option ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'd ->
('b ->
Core.Ctx.t ->
input:string option ->
(unit, string) Result.t Lwt.t)
* 'e) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'e ->
('b -> Core.Ctx.t -> (unit, string) Result.t Lwt.t) * 'f) ->
max_tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
'f ->
('b -> 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:string ->
with_context:(Core.Ctx.t -> Core.Ctx.t) ->
work:(Core.Ctx.t -> input:string option -> (unit, string) Result.t Lwt.t) ->
failed:(Core.Ctx.t -> (unit, string) Result.t Lwt.t) ->
max_tries:int ->
retry_delay:Utils.Time.duration ->
t
Source
val map :
name:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
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:string option ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Core.Ctx.t ->
input:string option ->
(unit, string) Result.t Lwt.t) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
Core.Ctx.t ->
(unit, string) Result.t Lwt.t) ->
max_tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 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, string) Fieldslib.Field.t_with_perm ->
unit) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
unit) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:string option ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
unit) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
unit) ->
max_tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
unit) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
unit) ->
unit
Source
val fold :
init:'a ->
name:
('a ->
([< `Read | `Set_and_create ], t, 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:string option ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'd) ->
failed:
('d ->
([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'e) ->
max_tries:
('e ->
([< `Read | `Set_and_create ], t, 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, string) Fieldslib.Field.t_with_perm ->
bool) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
bool) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:string option ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
max_tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
bool) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
bool) ->
bool
Source
val exists :
name:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
bool) ->
with_context:
(([< `Read | `Set_and_create ], t, Core.Ctx.t -> Core.Ctx.t)
Fieldslib.Field.t_with_perm ->
bool) ->
work:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
input:string option ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
bool) ->
max_tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
bool) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
bool) ->
bool
Source
val to_list :
name:
(([< `Read | `Set_and_create ], t, 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:string option ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(unit, string) Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
'a) ->
max_tries:
(([< `Read | `Set_and_create ], t, 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)"
>