Enum RunMode
Specifies the behavior of the command execution workflow.
Assembly: Revolt.Net.Commands.dll​
View Source​
Declaration
public enum RunMode : int
Fields​
Default​
The default behaviour set in Revolt.Commands.CommandServiceConfig.
View Source​
Declaration
Default = 0
Sync​
Executes the command on the same thread as gateway one.
View Source​
Declaration
Sync = 1
Async​
Executes the command on a different thread from the gateway one.
View Source​
Declaration
Async = 2