kotlin-stdlib / kotlin.streams / kotlin.sequences.Sequence Extensions for kotlin.sequences.Sequence JVM JRE8 1.2 asStream Creates a sequential Stream instance that produces elements from the original sequence. fun <T> Sequence<T>.asStream(): Stream<T>