Stream<S> exhaustMapWithTrailing<S>(Stream<S> Function(T? value) mapper) => transform(ExhaustMapWithTrailingStreamTransformer<T, S>(mapper));