It evaluates the whole sequence. This prints 1 and...
# announcements
m
It evaluates the whole sequence. This prints 1 and 2:
Copy code
buildSequence {
    println(1)
    yield(1)
    println(2)
}.count()