Async iterator

An Evt is an AsyncIterable:

You can stop the loop from outside by using a Ctx

You can automatically exit the loop when ever x millisecond have passed since the last event was received.

You can also filter the type of event you want to iterate over:

Last updated