mapAsync

fun <IN, OUT> Stream<IN>.mapAsync(mapper: suspend (IN) -> OUT?): Stream<OUT?>

Maps incoming values asynchronously from type IN to type OUT.

Notice that the result of the mapper can be null. In this case a 'null' will be published.