Function: identifyProcessable()
identifyProcessable(
node):Promise<ExecutionDefinition>
Defined in: packages/core/src/core/fingerprint.ts:28
A composition's definition in two parts, keyed by node path: the fields that decide whether a journal may resume under this code, and the ones recorded only for diagnosis.
The root's path is its name; a child's path appends the nodeId its parent
reports for it (/-separated, with #<n> when two siblings share one).
Each node contributes:
<path>: its name and the edge that reaches it, so adding, removing or moving a node changes the compatible part.<path>#<field>for each field of its declared identity'sparts, compatible and informational.- Otherwise
<path>#fingerprintfrom its identity'sfingerprint, when it has one.
An opaque node (code the parts cannot see) without a compatible version
is listed in unversioned, and so is each member a node reports as
unversioned (<path>#<field>); strict durability refuses to start them. A node
seen again further down (a recursive body) contributes <path>#ref naming
the earlier path. Keys are sorted, so equal definitions encode equally.
Parameters
node
Returns
Promise<ExecutionDefinition>