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/Direct/index.html
Module Fields.Direct
Source
Source
val iter :
t ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
t ->
Base.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:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
t ->
(Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
'c) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
t ->
(Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) ->
'd) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
t ->
Base.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, Base.string)
Fieldslib.Field.t_with_perm ->
t ->
Base.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:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
t ->
(Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
'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 ->
t ->
(Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) ->
'e) ->
max_tries:
('e ->
([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
t ->
Base.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, Base.string) Fieldslib.Field.t_with_perm ->
t ->
Base.string ->
Base.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) ->
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 ->
t ->
(Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
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 ->
t ->
(Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) ->
Base.bool) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
t ->
Base.int ->
Base.bool) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
t ->
Utils.Time.duration ->
Base.bool) ->
Base.bool
Source
val exists :
t ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
t ->
Base.string ->
Base.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) ->
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 ->
t ->
(Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
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 ->
t ->
(Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) ->
Base.bool) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
t ->
Base.int ->
Base.bool) ->
retry_delay:
(([< `Read | `Set_and_create ], t, Utils.Time.duration)
Fieldslib.Field.t_with_perm ->
t ->
Utils.Time.duration ->
Base.bool) ->
Base.bool
Source
val to_list :
t ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
t ->
Base.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:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
t ->
(Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
'a) ->
failed:
(([< `Read | `Set_and_create ],
t,
Core.Ctx.t ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
t ->
(Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) ->
'a) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
t ->
Base.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, Base.string) Fieldslib.Field.t_with_perm ->
t ->
Base.string ->
Base.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:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t)
Fieldslib.Field.t_with_perm ->
t ->
(Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t) ->
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 ->
t ->
(Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t) ->
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 ->
t ->
Base.int ->
Base.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)"
>