MCPcopy Create free account
hub / github.com/cloudflare/computer / setAttribute

Method setAttribute

packages/computer/src/observe.ts:88–88  ·  view source on GitHub ↗

* Sets a single attribute on the span. Passing `undefined` is a * no-op so callers can forward optional values directly.

(key: string, value: WorkspaceAttributeValue | undefined)

Source from the content-addressed store, hash-verified

86 * no-op so callers can forward optional values directly.
87 */
88 setAttribute(key: string, value: WorkspaceAttributeValue | undefined): void;
89}
90
91/**

Callers 12

pushMethod · 0.65
#pullResolvedMethod · 0.65
recordErrorFunction · 0.65
observe.test.tsFile · 0.65
readdirMethod · 0.65
findMethod · 0.65
lsMethod · 0.65
grepMethod · 0.65
execMethod · 0.65
setAttributeFunction · 0.65
applyAttributesFunction · 0.65
cloudflare.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected