method ClusterApi.observe
Merges a stamp received through application data. false: its wall part is more than the allowed drift (500 ms) ahead of this
node's clock; nothing was merged.
Example:
fn main() io {
print("{cluster.observe(cluster.now())}")
}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/core/node.oxl:370