function withArrayChangeTracking<T>(targets, callback): Record<string | symbol, unknown>[]
function withArrayChangeTracking<T>(targets, callback): Record<string | symbol, unknown>[]
Defined in: packages/db/src/proxy.ts:1005
Creates proxies for an array of objects, passes them to a callback function, and returns the changes made by the callback for each object
• T extends object
T[]
Array of objects to proxy
(proxies) => void
Function that receives the proxies and can make changes to them
Record<string | symbol, unknown>[]
Array of changes made to each object
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.