-
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.
* Removed unnecessary files, updated the docs and removed unnecessary methods for some classes * Added IEventBus and IEventBusAdapter contracts * Added redis event bus adapter * Added memory event bus adapter * Added event bus class * Added reusable tests for event bus * Added tests for memory event bus adapter * Added tests for redis event bus adapter * Added tests for event bus class * Added exports
- Loading branch information
1 parent
e3dc339
commit ec94bfc
Showing
141 changed files
with
1,804 additions
and
1,844 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
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
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-chunk-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
...ollection/implementations/async-iterable-collection/_shared/async-chunk-while-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncPredicate, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-collapse-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
isAsyncIterable, | ||
isIterable, | ||
|
5 changes: 5 additions & 0 deletions
5
src/collection/implementations/async-iterable-collection/_shared/async-count-by-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
...collection/implementations/async-iterable-collection/_shared/async-cross-join-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-entries-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
...lection/implementations/async-iterable-collection/_shared/async-error-handler-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
export class AsyncErrorHandlerIterable<TInput> | ||
implements AsyncIterable<TInput> | ||
{ | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-filter-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncPredicate, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-flat-map-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncMap, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-group-by-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncMap, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
...llection/implementations/async-iterable-collection/_shared/async-insert-after-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncPredicate, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
...lection/implementations/async-iterable-collection/_shared/async-insert-before-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncPredicate, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-map-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncMap, | ||
type IAsyncCollection, | ||
|
5 changes: 4 additions & 1 deletion
5
src/collection/implementations/async-iterable-collection/_shared/async-merge-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-pad-end-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-pad-start-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-partion-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncPredicate, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-repeat-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-reverse-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-shuffle-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { type IAsyncCollection } from "@/collection/contracts/_module"; | ||
|
||
/** | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-skip-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { type IAsyncCollection } from "@/collection/contracts/_module"; | ||
|
||
/** | ||
|
4 changes: 4 additions & 0 deletions
4
...collection/implementations/async-iterable-collection/_shared/async-skip-until-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncPredicate, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-slice-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { type IAsyncCollection } from "@/collection/contracts/_module"; | ||
|
||
/** | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-sliding-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { type IAsyncCollection } from "@/collection/contracts/_module"; | ||
|
||
/** | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-sort-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type Comparator, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-split-iterable.ts
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
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-take-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { type IAsyncCollection } from "@/collection/contracts/_module"; | ||
|
||
/** | ||
|
4 changes: 4 additions & 0 deletions
4
...collection/implementations/async-iterable-collection/_shared/async-take-until-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncPredicate, | ||
type IAsyncCollection, | ||
|
4 changes: 4 additions & 0 deletions
4
src/collection/implementations/async-iterable-collection/_shared/async-tap-iterable.ts
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/** | ||
* @module Collection | ||
*/ | ||
|
||
import { | ||
type AsyncTap, | ||
type IAsyncCollection, | ||
|
Oops, something went wrong.