PeachImage

PeachImage.DecoderOptions

DecoderOptions.TaskScheduler Property

An optional scheduler the decoder’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; }

Property Value

System.Threading.Tasks.TaskScheduler