Skip to content

Commit

Permalink
Add message scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatson484 committed Nov 2, 2023
1 parent 66057da commit a2bb29f
Show file tree
Hide file tree
Showing 3 changed files with 1,510 additions and 731 deletions.
4 changes: 4 additions & 0 deletions app/messaging/message-sender.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class MessageSender extends MessageBase {
await this.sender.sendMessages(message, options)
}

async scheduleMessage (message, scheduleTimeUtc) {
await this.sender.scheduleMessages(message, scheduleTimeUtc)
}

async closeConnection () {
await this.sender.close()
await super.closeConnection()
Expand Down
Loading

0 comments on commit a2bb29f

Please sign in to comment.