Disposes multiple objects asynchronously after a zero timeout.
This method schedules disposal to occur asynchronously, which can be useful
for avoiding blocking the current execution thread. All exceptions are logged
but not thrown to prevent unhandled promise rejections.
Parameters
...disposables: DisposableItem[]
The objects to dispose of asynchronously.
Returns void
Example
// Schedule disposal for next tick dispose.deferred(resource1, resource2, resource3); // Execution continues immediately, disposal happens asynchronously
Disposes multiple objects asynchronously after a zero timeout.
This method schedules disposal to occur asynchronously, which can be useful for avoiding blocking the current execution thread. All exceptions are logged but not thrown to prevent unhandled promise rejections.