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.
|
|
|
import {CanonicalStatic} from './CanonicalStatic'
|
|
|
|
import {Singleton, Instantiable} from '../di'
|
|
|
|
import {Queueable} from '../support/bus'
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A canonical unit that resolves Queueable classes from `app/jobs` and sets up
|
|
|
|
* any non-default queues.
|
|
|
|
*/
|
|
|
|
@Singleton()
|
|
|
|
export class Queueables extends CanonicalStatic<Queueables, Instantiable<Queueable>> {
|
|
|
|
protected appPath = ['jobs']
|
|
|
|
|
|
|
|
protected canonicalItem = 'job'
|
|
|
|
|
|
|
|
protected suffix = '.job'
|
|
|
|
}
|