MCPcopy Create free account
hub / github.com/Noumena-Network/code / clone

Function clone

src/utils/slowOperations.ts:222–225  ·  view source on GitHub ↗
(value: T, options?: StructuredSerializeOptions)

Source from the content-addressed store, hash-verified

220 * const copy = clone(originalObject)
221 */
222export function clone<T>(value: T, options?: StructuredSerializeOptions): T {
223 using _ = slowLogging`structuredClone(${value})`
224 return structuredClone(value, options)
225}
226
227/**
228 * Wrapped cloneDeep with slow operation logging.

Callers 3

spawn_kernelFunction · 0.85
parseSettingsFileFunction · 0.85
ws_v2_connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected