mirai-core / net.mamoe.mirai.utils / asSequence

asSequence

fun <E> LockFreeLinkedList<E>.asSequence(): Sequence<E>

Builds a Sequence containing all the elements in this in the same order.

Note that the sequence is dynamic