package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-queue-0.1.5.tbz
sha256=bfa7bde9af02bb83d5ca39d54797b05b43317f033d93d24ca86ca42ff8ef83a1
sha512=6bb8727f65116e8042aa1fb77b3c14851ce5238f7b412adadf0f8e5b52d5310e8f06056c96bf76a82ffd7096753f49b2b0482f41e18ee1ca94310b874fe81bf9
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)"
>