map<N> method

Selectable<N> map<N>(
  1. N mapper(
    1. T
    )
)

Maps this selectable by the mapper function.

Each entry emitted by this Selectable will be transformed by the mapper and then emitted to the selectable returned.

Implementation

Selectable<N> map<N>(N Function(T) mapper) {
  return _MappedSelectable<T, N>(this, mapper);
}