fn observe
Merges a stamp received from outside the cluster channel; false when it is more than the allowed drift ahead.
Example:
use std.cluster
fn main() io {
let h = cluster.now()
print(cluster.observe(h))
}Output
true
pub(api) fn observe(h: Hlc) -> boolSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
h | Hlc |
Returns
bool
Effects
none declared (pure unless the body says otherwise)
Defined in: std/cluster/cluster.oxl:161