chore(router): update Cosmo Streams ADR#2314
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
||
| func NewStreamEvents(evts []StreamEvent) StreamEvents | ||
|
|
||
| // each provider will have its own event type with custom fields |
There was a problem hiding this comment.
I would change the comment to be more "standard":
StreamEvent is a read-only event. Every provider will have it's specific implementation with additionals fields
Checklist
This updates the ADR to reflect the latest changes we made on Cosmo Streams. Besides updating the existing code examples I also added two for the OnReceiveEvents and OnPublishEvents hooks.