Disposes an array of objects asynchronously without creating a copy.
WARNING: This is an unsafe method that operates directly on the provided array.
Use only when you can guarantee that disposal operations will not modify the array
or trigger events that might modify it.
Parameters
disposables: DisposableItemArray
Array of objects to dispose. The array is NOT copied.
delay: number = 0
Milliseconds to wait before disposing. Default is 0.
Returns void
Example
// Only use when certain the array won't be modified during disposal dispose.these.deferred.unsafe(localResourceArray);
Disposes an array of objects asynchronously without creating a copy.
WARNING: This is an unsafe method that operates directly on the provided array. Use only when you can guarantee that disposal operations will not modify the array or trigger events that might modify it.