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