lib/src/support/bus/queue/BaseJob.ts
garrettmills 16e5fa00aa
Some checks failed
continuous-integration/drone/push Build is failing
Implement queue work and listen commands
2022-01-27 10:34:01 -06:00

14 lines
423 B
TypeScript

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>
}