throttle static method
Throttle updates such that maximum one per duration
is emitted.
Implementation
static TileUpdateTransformer throttle(
Duration duration, {
/// If true tap events will be filtered out.
bool ignoreTapEvents = true,
}) =>
throttleStreamTransformerWithTrailingCall<TileUpdateEvent>(
duration,
ignore: ignoreTapEvents ? _triggeredByTap : null,
);