map

fun <B> map(f: suspend ContSyntax.(A) -> B): ContSeq<B>

Maps every element in the sequence with f, and allows for aborting the mapped value using ContSyntax.abort or ContSyntax.ensure.