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())}")
}Вывод
true
pub(api) fn observe(h: Hlc) -> boolС версии. 1.0.0-beta
Параметры
| Имя | Тип |
|---|---|
h | Hlc |
Возвращает
bool
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/core/node.oxl:370