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

fn observe

Merges a stamp received from outside the cluster channel; false when it is more than the allowed drift ahead.

Example:

oxl✓ проверяется в CI
use std.cluster

fn main() io {
  let h = cluster.now()
  print(cluster.observe(h))
}
Вывод
true
pub(api) fn observe(h: Hlc) -> bool

С версии. 1.0.0-beta

Параметры

ИмяТип
hHlc

Возвращает

bool

Эффекты

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

Определено в: std/cluster/cluster.oxl:161

См. также