package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-queue-0.1.6.tbz
sha256=574c73c97ea0bc57144853b28df6125855a040ef0378f3bf180b4331dde93f9d
sha512=92c474ed3b6609395799f77259fc424af37dcad53095773ca2f2cdd4757a1607a5b53b6594cd7b6ddabeb40ebba67bb9544ff0f31dc228c87cfe015afa520aaa
doc/sihl.queue/Queue/JobInstance/Fields/index.html
Module JobInstance.Fields
Source
Source
val make_creator :
id:
(([< `Read | `Set_and_create ], t, Database.Id.t)
Fieldslib.Field.t_with_perm ->
'a ->
('b -> 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: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, Database.Id.t)
Fieldslib.Field.t_with_perm ->
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, 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, 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, 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, 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, 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)"
>