OxL Reference

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:

oxl✓ checked in CI
fn main() io {
  print("{cluster.observe(cluster.now())}")
}
Output
true
pub(api) fn observe(h: Hlc) -> bool

Since. 1.0.0-beta

Parameters

NameType
hHlc

Returns

bool

Effects

none declared (pure unless the body says otherwise)

Defined in: std/core/node.oxl:370

See also