-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Renamed RedisEventBusAdapter class to RedisPubSubEventBusAdapter * Updated the IEventBusAdapter contract * Updated the eventBusAdapterTestSuite function * Updated the MemoryEventBusAdapter class * Updated the MemoryEventBusAdapter class tests * Updated the RedisPubSubEventBusAdapter class * Updated the RedisPubSubEventBusAdapter class tests * Updated the NoOpEventBusAdapter class * Updated the EventBus class * Updated the EventBus class tests * Updated the EventBusFactory class * Updated Cache class tests * Remove unused class * Updated to include 2 dispatch methods on for distpatching one event and one for dispatching multiple events * Updated eventBusTestSuite function * Updated EventBus class * Added new method listenOnce to IEventBus contract * Added new test for eventBusTestSuite function * Updated the EventBus class * Fixed a bug in EventBus class tests * Updated Cache class * Updated old changeset files * Added changeset file
- Loading branch information
1 parent
9197902
commit 5e7dae8
Showing
21 changed files
with
468 additions
and
391 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
"@daiso-tech/core": minor | ||
--- | ||
|
||
## New features | ||
|
||
- Introduced a instance static method <i>listenOnce</i> for the <i>IEventBus</i> contract and <i>EventBus</i> class. | ||
This method simplifies add listener that will only execute once. | ||
|
||
## Changes | ||
|
||
- Moved event bus group logic from the <i>Cache</i> class into the adapters classes. | ||
- **Key Impact**: Each adapter is now required to implement the <i>getGroup</i> and <i>withGroup</i> methods. | ||
- This change enhances flexibility for adapter-specific logic. |
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
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
Oops, something went wrong.