You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just want to check with you if there is a plan to support Message Grouping.
The idea is:
Provide a key/id to queue jobs that you want to execute serially (sequencial).
Sample API
constpulse=newPulse();constregisteredUser=userService.register({...})pulse.now('send-email',{to: registeredUser.email,body: 'Thank you for signing up!'},{// all messages with this id will be executed sequentiallygroupId: registeredUser.id,// subsequent messages with the same dedup-id that is within the// configured interval will not be processeddeduplicationId: registeredUser.id+Date.now(),deduplicationInterval: 300// 5 minutes},);
Is this complex to do with the current state of the library? I can also help in the implementation given a guidance on the source code.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just want to check with you if there is a plan to support Message Grouping.
The idea is:
Sample API
Is this complex to do with the current state of the library? I can also help in the implementation given a guidance on the source code.
Beta Was this translation helpful? Give feedback.
All reactions