map<T> method

void map<T>(
  1. T transform(
    1. E
    )
)

Map items to new type and emit.

Implementation

void map<T>(T Function(E) transform) {
  // Note: This changes the type, so not ideal for ListSignal<E>
  // Better to create a new signal
}