ITask<M>: {
metadata?: M;
reject: ((reason?) => void);
resolve: ((value?) => void);
}
Type declaration
-
Optional
metadata?: M
-
reject: ((reason?) => void)
-
- (reason?): void
-
Parameters
-
Optional
reason: unknown
Optional
Returns void
-
resolve: ((value?) => void)
-
- (value?): void
-
Parameters
-
Optional
value: unknown
Optional
Returns void