method stream.lagged
Elements dropped for this subscription by Broadcast with .DropOldest (0 for every other stream).
Example:
fn numbers() -> stream<i64> {
yield 1
}
fn main() io {
var s = numbers()
let _ = s.pull()
print("{s.lagged()}")
}Output
0
pub(api) fn lagged() -> u64Since. 1.0.0-beta
Returns
u64
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/stream.oxl:144