The type of input values
The type of mapped result values
The function to transform each item (can be sync or async). When the mapper returns undefined,
that value is filtered out and not included in the output stream.
Concurrency control: false/undefined/1 for sequential (default),
true for parallel with auto-detected concurrency (CPU cores), 0 for unbounded concurrency (I/O-heavy tasks),
or a number > 1 for explicit concurrency limit
A task that transforms items using the mapper function
Creates a task that maps each input item to an output value using a mapper function.
Items are processed sequentially by default, preserving output order. In parallel mode, items are processed concurrently and emitted as they complete without preserving order.