IterableSignalImpl<E> constructor
IterableSignalImpl<E> (
- Iterable<
E> getter(), { - JoltDebugFn? onDebug,
Creates a reactive iterable with the given getter function.
Parameters:
getter: Function that computes the iterable value
Example:
final source = Signal([1, 2, 3]);
final doubled = IterableSignal(() => source.value.map((x) => x * 2));
Implementation
IterableSignalImpl(super.getter, {super.onDebug});