Skip to main content

Function: fingerprintProcessable()

fingerprintProcessable(node): Promise<string>

Defined in: packages/core/src/core/fingerprint.ts:85

A digest of what a composition is, stable across processes running the same code: each node's name and identity fingerprint, and each edge's kind, label and node id, all the way down.

getId() is left out on purpose. It carries a timestamp, so it differs on every restart, and a journal written before a crash has to be readable after it. An edit to the composition changes the digest, which is what lets a journal refuse to replay answers recorded for different code.

A node seen again further down (a recursive body) is recorded by reference, not walked twice.

Parameters​

node​

Processable

Returns​

Promise<string>