-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(asset): enhance pubsub functionality with subscription and event…
… handling - Added subscription and unsubscription methods to the AssetPubSub struct, allowing for flexible event handling. - Implemented tests for subscribing to all events, specific events, and verifying unsubscribe functionality. - Enhanced event notification mechanism to ensure subscribers receive relevant asset events (created, updated, uploaded). - Improved concurrency handling in event processing with mutex locks to prevent race conditions. - This change strengthens the event-driven architecture, facilitating better asset management and responsiveness.
- Loading branch information
1 parent
692f929
commit 7353e6b
Showing
3 changed files
with
252 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters