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

feat: listen to new messages every x seconds #4

Merged
merged 4 commits into from
Jul 26, 2023

Conversation

Romaixn
Copy link
Owner

@Romaixn Romaixn commented Jul 26, 2023

Create a new function listenEvery to listen to new messages every X seconds.

Useful if there are messages already present and have not been consumed yet, as they will not be detected by the LISTEN operation.

TODO

  • Refactoring the code to avoid repetition.

Ref: #1

@Romaixn Romaixn marked this pull request as ready for review July 26, 2023 15:35
@Romaixn Romaixn merged commit 71d5b8c into main Jul 26, 2023
@Romaixn Romaixn deleted the feat/listen-message-every-seconds branch July 26, 2023 15:42
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.

1 participant