UNPKG
@cleotasks/core
Version:
latest (1.0.11)
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.4
1.0.3
1.0.2
1.0.0
1.0.0-beta.7
1.0.0-beta.6
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
A distributed task queue system for Node.js, inspired by Celery and BullMQ
@cleotasks/core
/
dist
/
decorators
/
task.d.ts
5 lines
(4 loc)
•
230 B
TypeScript
View Raw
1
2
3
4
5
import
{
TaskOptions
}
from
"../types/interfaces"
;
import
{
type
Cleo
}
from
"../index"
;
export
declare
function
initializeTaskDecorator
(
instance
:
Cleo
):
void
;
export
declare
function
task
(
options
?:
TaskOptions
):
MethodDecorator
;