OxL Справочник OxL
РусскийEnglish

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✓ проверяется в CI
fn main() io {
  print("{cluster.observe(cluster.now())}")
}
Вывод
true
pub(api) fn observe(h: Hlc) -> bool

С версии. 1.0.0-beta

Параметры

ИмяТип
hHlc

Возвращает

bool

Эффекты

не объявлены (чистая, пока тело не говорит иное)

Определено в: std/core/node.oxl:370

См. также