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/JobInstance/Fields/index.html
Module JobInstance.Fields
Source
Source
val input :
([< `Read | `Set_and_create ], t, Base.string Base.option)
Fieldslib.Field.t_with_perm
Source
val make_creator :
id:
(([< `Read | `Set_and_create ], t, Data.Id.t) Fieldslib.Field.t_with_perm ->
'a ->
('b -> Data.Id.t) * 'c) ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
'c ->
('b -> Base.string) * 'd) ->
input:
(([< `Read | `Set_and_create ], t, Base.string Base.option)
Fieldslib.Field.t_with_perm ->
'd ->
('b -> Base.string Base.option) * 'e) ->
tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'e ->
('b -> Base.int) * 'f) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
'f ->
('b -> Ptime.t) * 'g) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'g ->
('b -> Base.int) * 'h) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
'h ->
('b -> Status.t) * 'i) ->
'a ->
('b -> t) * 'i
Source
val create :
id:Data.Id.t ->
name:Base.string ->
input:Base.string Base.option ->
tries:Base.int ->
next_run_at:Ptime.t ->
max_tries:Base.int ->
status:Status.t ->
t
Source
val map :
id:
(([< `Read | `Set_and_create ], t, Data.Id.t) Fieldslib.Field.t_with_perm ->
Data.Id.t) ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
Base.string) ->
input:
(([< `Read | `Set_and_create ], t, Base.string Base.option)
Fieldslib.Field.t_with_perm ->
Base.string Base.option) ->
tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.int) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
Ptime.t) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.int) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
Status.t) ->
t
Source
val iter :
id:
(([< `Read | `Set_and_create ], t, Data.Id.t) Fieldslib.Field.t_with_perm ->
Base.unit) ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
Base.unit) ->
input:
(([< `Read | `Set_and_create ], t, Base.string Base.option)
Fieldslib.Field.t_with_perm ->
Base.unit) ->
tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.unit) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
Base.unit) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.unit) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
Base.unit) ->
Base.unit
Source
val fold :
init:'a ->
id:
('a ->
([< `Read | `Set_and_create ], t, Data.Id.t) Fieldslib.Field.t_with_perm ->
'b) ->
name:
('b ->
([< `Read | `Set_and_create ], t, Base.string)
Fieldslib.Field.t_with_perm ->
'c) ->
input:
('c ->
([< `Read | `Set_and_create ], t, Base.string Base.option)
Fieldslib.Field.t_with_perm ->
'd) ->
tries:
('d ->
([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'e) ->
next_run_at:
('e ->
([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
'f) ->
max_tries:
('f ->
([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'g) ->
status:
('g ->
([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
'h) ->
'h
Source
val for_all :
id:
(([< `Read | `Set_and_create ], t, Data.Id.t) Fieldslib.Field.t_with_perm ->
Base.bool) ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
Base.bool) ->
input:
(([< `Read | `Set_and_create ], t, Base.string Base.option)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.bool) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
Base.bool) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.bool) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
Base.bool) ->
Base.bool
Source
val exists :
id:
(([< `Read | `Set_and_create ], t, Data.Id.t) Fieldslib.Field.t_with_perm ->
Base.bool) ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
Base.bool) ->
input:
(([< `Read | `Set_and_create ], t, Base.string Base.option)
Fieldslib.Field.t_with_perm ->
Base.bool) ->
tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.bool) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
Base.bool) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
Base.bool) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
Base.bool) ->
Base.bool
Source
val to_list :
id:
(([< `Read | `Set_and_create ], t, Data.Id.t) Fieldslib.Field.t_with_perm ->
'a) ->
name:
(([< `Read | `Set_and_create ], t, Base.string) Fieldslib.Field.t_with_perm ->
'a) ->
input:
(([< `Read | `Set_and_create ], t, Base.string Base.option)
Fieldslib.Field.t_with_perm ->
'a) ->
tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'a) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
'a) ->
max_tries:
(([< `Read | `Set_and_create ], t, Base.int) Fieldslib.Field.t_with_perm ->
'a) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
'a) ->
'a list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>