-
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.
Minor changes that doesn't effect Collection module (#52)
* Removed unnecessary try catch that hindered unknown error to propagate up in ListCollection, IterableCollection and AsyncIterableCollection. I made AsyncIterableCollection return LazyPromise, abortableIterable, timeoutIterable and made it use TimeSpan class. I made AsyncCollection contract use PromiseLike instead of Promise type. * Renamed the timeout method to takeUntilTimeout and abort method to takeUntilAbort of IAsyncCollection contract * Added changeset file
- Loading branch information
1 parent
993f7c9
commit 790a76c
Showing
68 changed files
with
1,432 additions
and
3,311 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@daiso-tech/core": minor | ||
--- | ||
|
||
# IAsyncCollection and AsyncIterableCollection | ||
Changed IAsyncCollection contract to use PromiseLike instead of Promise. | ||
Changed AsyncIterableCollection to use LazyPromise instead of Promise. | ||
Removed all try catches catched unknown errors. | ||
Renamed timeout to takeUntilTimeout, and abort to takeUntilAbort. |
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
25 changes: 0 additions & 25 deletions
25
src/collection/async-iterable-collection/_shared/async-abort-iterable.ts
This file was deleted.
Oops, something went wrong.
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
26 changes: 0 additions & 26 deletions
26
src/collection/async-iterable-collection/_shared/async-delay-iterable.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.