Class Flush
- Namespace
- DuetControlServer.Commands
- Assembly
- DuetControlServer.dll
Implementation of the Flush command
public sealed class Flush : Flush, IConnectionCommand
- Inheritance
-
Flush
- Implements
- Inherited Members
Constructors
Flush(CodeProcessor, ObjectModel)
Implementation of the Flush command
public Flush(CodeProcessor codeProcessor, ObjectModel model)
Parameters
codeProcessorCodeProcessorCode processor
modelObjectModelObject model
Properties
Connection
Source connection of this command
public Connection? Connection { get; set; }
Property Value
Methods
ExecuteAsync(CancellationToken)
Wait for all pending codes of the given channel to finish
public override Task<bool> ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenOptional cancellation token