Microsoft.Identity.Client.Platforms.Features.DesktopOs.StaTaskScheduler
Provides a scheduler that uses STA threads.
Initializes a new instance of the StaTaskScheduler class with the specified concurrency level.
Cleans up the scheduler by indicating that no more tasks will be queued.
This method blocks until all threads successfully shutdown.