Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.2 · function

stampObserved

Source

Return a copy of `node` stamped with observation provenance, identity, and sync metadata. Never mutates the input (callers build node lists with `.map(stampObserved…)`). Existing identity/metadata are preserved and only overlaid with the supplied values.

stampObserved(node: Node, options: StampObservedOptions): Node

Parameters

Parameter Type Description Default
node Node No additional description. —
options StampObservedOptions No additional description. —

Returns

Node

libs/@shumoku/core/src/libs/@shumoku/core/src/plugin-kit/stamp.ts:98