feed.api.generic.warmup module

warmup.py contains classes for warm up stream operations.

class feed.api.generic.warmup.WarmUp(periods: int)[source]

Bases: feed.core.base.Stream

A stream operator for warming up a given stream.

Parameters:periods (int) – Number of periods to warm up.
forward() → T[source]

Generates the next value from the underlying data streams.

Returns:The next value in the stream.
Return type:T
has_next() → bool[source]

Checks if there is another value.

Returns:If there is another value or not.
Return type:bool
reset() → None[source]

Resets all the listeners of the stream.