tap method
OffsetIterator<T>
tap(
- void effect(
- T
- String name = 'tap',
- SeedCallback<
T> ? seed, - int retention = 0,
- bool? cancelOnError,
- bool bubbleCancellation = true,
Implementation
OffsetIterator<T> tap(
void Function(T) effect, {
String name = 'tap',
SeedCallback<T>? seed,
int retention = 0,
bool? cancelOnError,
bool bubbleCancellation = true,
}) =>
transformIdentical(
(item) {
effect(item);
return [item];
},
name: name,
seed: seed,
retention: retention,
bubbleCancellation: bubbleCancellation,
cancelOnError: cancelOnError,
);