Implementing Fetching Records from DynamoDB: Transforming Loop into a Stream
Me again. So, i'm implementing fetching potentially lots of records from DynamoDB.
My original idea was to create something like
My hurdle is how to properly transform looping over
My original idea was to create something like
I -> Effect<R,E,A>, where A contains LastEvaluatedKey, so i can loop it until all results are fetched. With each result i'd push it into a stream for further processing.My hurdle is how to properly transform looping over
I -> Effect<R,E,A> into a stream.