package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-queue-0.1.8.tbz
sha256=e77ffae26dac04e446ff07854de68a03edfd05031b5cb0dbcb6dc4a96e2d1c8e
sha512=7682c55136dbb8c68517ccd2c157a3556d966cb8565d15cf21ab270f92ea7e9ee5d3ac1479ba2e34a80f3052ca5dd1a74e964a8764c2164e3e71e9048fcdf51b
doc/sihl.queue/Sihl_queue_core/JobInstance/Fields/index.html
Module JobInstance.Fields
Source
Source
val make_creator :
id:
(([< `Read | `Set_and_create ], t, Sihl_database.Id.t)
Fieldslib.Field.t_with_perm ->
'a ->
('b -> Sihl_database.Id.t) * 'c) ->
name:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
'c ->
('b -> string) * 'd) ->
input:
(([< `Read | `Set_and_create ], t, string option)
Fieldslib.Field.t_with_perm ->
'd ->
('b -> string option) * 'e) ->
tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
'e ->
('b -> 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, int) Fieldslib.Field.t_with_perm ->
'g ->
('b -> 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:Sihl_database.Id.t ->
name:string ->
input:string option ->
tries:int ->
next_run_at:Ptime.t ->
max_tries:int ->
status:Status.t ->
t
Source
val map :
id:
(([< `Read | `Set_and_create ], t, Sihl_database.Id.t)
Fieldslib.Field.t_with_perm ->
Sihl_database.Id.t) ->
name:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
string) ->
input:
(([< `Read | `Set_and_create ], t, string option)
Fieldslib.Field.t_with_perm ->
string option) ->
tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> 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, int) Fieldslib.Field.t_with_perm -> 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, Sihl_database.Id.t)
Fieldslib.Field.t_with_perm ->
unit) ->
name:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
unit) ->
input:
(([< `Read | `Set_and_create ], t, string option)
Fieldslib.Field.t_with_perm ->
unit) ->
tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
unit) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
unit) ->
max_tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
unit) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
unit) ->
unit
Source
val fold :
init:'a ->
id:
('a ->
([< `Read | `Set_and_create ], t, Sihl_database.Id.t)
Fieldslib.Field.t_with_perm ->
'b) ->
name:
('b ->
([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
'c) ->
input:
('c ->
([< `Read | `Set_and_create ], t, string option)
Fieldslib.Field.t_with_perm ->
'd) ->
tries:
('d ->
([< `Read | `Set_and_create ], t, 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, 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, Sihl_database.Id.t)
Fieldslib.Field.t_with_perm ->
bool) ->
name:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
bool) ->
input:
(([< `Read | `Set_and_create ], t, string option)
Fieldslib.Field.t_with_perm ->
bool) ->
tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
bool) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
bool) ->
max_tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
bool) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
bool) ->
bool
Source
val exists :
id:
(([< `Read | `Set_and_create ], t, Sihl_database.Id.t)
Fieldslib.Field.t_with_perm ->
bool) ->
name:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
bool) ->
input:
(([< `Read | `Set_and_create ], t, string option)
Fieldslib.Field.t_with_perm ->
bool) ->
tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
bool) ->
next_run_at:
(([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm ->
bool) ->
max_tries:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
bool) ->
status:
(([< `Read | `Set_and_create ], t, Status.t) Fieldslib.Field.t_with_perm ->
bool) ->
bool
Source
val to_list :
id:
(([< `Read | `Set_and_create ], t, Sihl_database.Id.t)
Fieldslib.Field.t_with_perm ->
'a) ->
name:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
'a) ->
input:
(([< `Read | `Set_and_create ], t, string option)
Fieldslib.Field.t_with_perm ->
'a) ->
tries:
(([< `Read | `Set_and_create ], t, 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, 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)"
>