You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
423 B
14 lines
423 B
2 years ago
|
import {Queueable} from '../types'
|
||
|
import {Awaitable} from '../../../util'
|
||
|
import {Inject, Injectable} from '../../../di'
|
||
|
import {Logging} from '../../../service/Logging'
|
||
|
import {CanonicalItemClass} from '../../CanonicalReceiver'
|
||
|
|
||
|
@Injectable()
|
||
|
export abstract class BaseJob extends CanonicalItemClass implements Queueable {
|
||
|
@Inject()
|
||
|
protected readonly logging!: Logging
|
||
|
|
||
|
abstract execute(): Awaitable<void>
|
||
|
}
|