buildSequence

inline fun <T> buildSequence(noinline builderAction: suspend SequenceScope<T>.() -> Unit): Sequence<T>(source)

Deprecated (with error)

Use 'sequence { }' function instead.

Replace with

sequence(builderAction)

Since Kotlin

1.3