Last active
July 30, 2021 10:46
-
-
Save witalobenicio/ace7c9875035456e2c37780de6f0816c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { IQueue } from '@managers/queue/types/Queue'; | |
import QueuePriorityToDo from '@queue/types/QueuePriorityToDo'; | |
class QueueToDo implements IQueue { | |
private readonly url: string = '<your-queue-endpoint>'; | |
public getUrl(): string { | |
return this.url; | |
} | |
public getPriorityQueue(): IQueue { | |
return QueuePriorityToDo; | |
} | |
} | |
export default (new QueueToDo()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment