PeachImage
PeachImage.EncoderOptions
EncoderOptions.TaskScheduler Property
An optional scheduler the encoder’s parallel work runs on, so a host can share one limit across concurrent calls (for example the System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.ConcurrentScheduler of a pair created with a bounded concurrency level). null (the default) uses the thread pool.
public System.Threading.Tasks.TaskScheduler? TaskScheduler { get; init; }