Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queue Resource #419

Open
8 tasks
sam-goodwin opened this issue Aug 10, 2023 · 0 comments
Open
8 tasks

Queue Resource #419

sam-goodwin opened this issue Aug 10, 2023 · 0 comments
Labels

Comments

@sam-goodwin
Copy link
Owner

sam-goodwin commented Aug 10, 2023

Event Source:

export interface MyMessage {
  someID: string;
  someOtherID: string;
}

const MyQueue = queue<MyMessage>("MyQueue", {
  fifo: true,
  groupBy: (msg) => msg.someID,
  dedupe: (msg) => msg.someOtherID
}, async (messages) => {
  // process
  return {
    failed: [ .. ]
  }
});

Config:

  • Fifo: true/false
  • Encryption: yes/no
  • MessageGroupID

Client-side APIs:

  • SendMessage
  • SendMessageBatch
  • ChangeMessageVisibility
  • DeleteMessage
  • DeleteMessageBatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant