masesgroup / KNet

KNet is a comprehensive .NET suite for Apache Kafka™ providing all features: Producer, Consumer, Admin, Streams, Connect, backends (ZooKeeper and Kafka).
https://knet.masesgroup.com/
Apache License 2.0
36 stars 6 forks source link

Iterator classes becomes IEnumerable and IAsyncEnumerable aware #366

Closed masesdevelopers closed 7 months ago

masesdevelopers commented 7 months ago

Description

Classes which manages iteration over data now implements IEnumerable<T> and IAsyncEnumerable<T> so it is possible to use the instance within a foreach or async foreach statement. The previous usage mode is still valid.

Related Issue

fix #327

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist: