package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-0.1.1.tbz
sha256=eac58e5ee9c869aa3b0f0bcee936b01c53bf7fe1febb42edd607268dfb11f4e9
sha512=012b6cf1cf6af0966059761b4916ea8aa590aa8d5809a6f480cb17e23ee10c3b9245062c4f0cf9ad98ab950391c0827c9780999d39fa16a93f7aab4b12f9ab8c
doc/sihl.queue/Queue/Service/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)"
>