snapshotDeepEnumerableData
snapshotDeepEnumerableData<
T>(value,field?,limits?,options?):T
Defined in: packages/core/src/utils.ts:353
Iteratively detach an untrusted codec/provider value without invoking own accessors. Plain records retain their descriptor order and each field is read once; arrays must be dense own-data arrays whose bounded length stays stable while their elements are read; genuine unshared Uint8Arrays are copied through captured intrinsics, and CryptoKeys are cloned as immutable platform values. Cycles, exotic objects, symbols, accessors, sparse arrays, SAB views, and values exceeding the aggregate work/allocation limits are rejected. Repeated aliases are copied independently so a later mutation through one consumer cannot change another authenticated field.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”T
field?
Section titled “field?”string = 'value'
limits?
Section titled “limits?”DeepDataSnapshotLimits = ...
options?
Section titled “options?”retainCryptoKeys?
Section titled “retainCryptoKeys?”boolean
Returns
Section titled “Returns”T