Create an iterator that iterates over another iterator for a specified period of time, and then stops. This can be useful when you want to search for something, or run a test for awhile, and then stop.
Arguments
- iterable
Iterable to iterate over.
- time
The time interval to iterate for, in seconds.
- ...
passed along to
iteror(iterable, ...)
Value
an iteror yielding values from iterable
so long as time
is in the future