retainedSetCount
Reports active, retired, partially initialized, quarantined, and asynchronously destroying portable sets.
This owner-thread diagnostic neither polls nor touches a native API and is safe after device shutdown. Its count is separate from NativeCanvasDevice.retainedTargetCount.
Return
permits retained until all resources in each set acknowledge physical destruction.
Throws
off the render thread.