Table of Contents

Constructor ParallelQueuedCommandExecutor

Namespace
DSharpPlus.CommandsNext.Executors
Assembly
DSharpPlus.CommandsNext.dll

ParallelQueuedCommandExecutor()

Creates a new executor, which uses up to 75% of system CPU resources.

public ParallelQueuedCommandExecutor()

ParallelQueuedCommandExecutor(int)

Creates a new executor with specified degree of parallelism.

public ParallelQueuedCommandExecutor(int parallelism)

Parameters

parallelism int

The number of workers to use. It is recommended this number does not exceed 150% of the physical CPU count.