Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / asSequence
Go to reference

asSequence

fun <T> Attribute<Iterable<T>>.asSequence(): Attribute<Sequence<T>>
fun <K, V> Attribute<Map<K, V>>.asSequence(): Attribute<Sequence<Entry<K, V>>>

Same as asSequence, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling asSequence in the transformation function.

This is simply a convenience function.

See Also

kotlin.collections.asSequence


fun <T> Attribute<Sequence<T>>.asSequence(): Attribute<Sequence<T>>

Same as asSequence, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling asSequence in the transformation function.

This is simply a convenience function.

See Also

kotlin.sequences.asSequence


fun Attribute<String>.asSequence(): Attribute<Sequence<Char>>

Same as asSequence, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling asSequence in the transformation function.

This is simply a convenience function.

See Also

kotlin.text.asSequence