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

Delay Entire notifications #67

Closed
wants to merge 4 commits into from
Closed

Conversation

gathuku
Copy link

@gathuku gathuku commented Nov 26, 2020

Delay entire notification with an active job like syntax

NewComment.with(comment: @comment).set(wait: 20.minutes).deliver_later(user)

Pass other rails supported options wait_until, queue, priority

Closes #63

@gathuku
Copy link
Author

gathuku commented Dec 4, 2020

@excid3 what could be the best approach to this feature? please help we make it better.

@stayce
Copy link

stayce commented Nov 13, 2022

Any updates? This would be a great feature addition

@excid3
Copy link
Owner

excid3 commented Jan 15, 2024

This is now supported in v2.

CommentNotifier.deliver(User.first, wait: 20.minutes)

@excid3 excid3 closed this Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add delay to entire notification
3 participants