Iterator : Design Patterns in TypeScript

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=ePyjE0dADvs



Duration: 3:07
0 views
3


https://www.amazon.com/dp/B0948BCH24 : ASIN B0948BCH24
https://www.amazon.com/dp/B094716FD6 : ASIN B094716FD6

Documentation : https://sbcode.net/typescript/iterator/

The Iterator will commonly contain two methods that perform the following concepts.

next: returns the next object in the aggregate (collection, object).
hasNext: returns a Boolean indicating if the Iterable is at the end of the iteration or not.
The benefits of using the Iterator pattern are that the client can traverse a collection of aggregates(objects) without needing to understand their internal representations and/or data structures.

#iteratorPattern
#typescriptIterator
#iteratorPatternTypescript







Tags:
Design Patterns In TypeScript
TypeScript
Design Patterns
iterator
iterator pattern