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.

19 lines
490 B

import {Event, Queueable, ShouldQueue} from '../../types'
import {uuid4} from '../../../../util'
* Event fired after an item is pushed to the queue.
export class PushedToQueue<T extends ShouldQueue<Queueable>> implements Event {
public readonly eventName = '@extollo/lib.PushedToQueue'
public readonly eventUuid = uuid4()
public readonly shouldBroadcast = true
public readonly item: T,
public readonly queueName: string,
) {}