Table of Contents

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

codeProcessor CodeProcessor

Code processor

model ObjectModel

Object model

Properties

Connection

Source connection of this command

public Connection? Connection { get; set; }

Property Value

Connection

Methods

ExecuteAsync(CancellationToken)

Wait for all pending codes of the given channel to finish

public override Task<bool> ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task<bool>

Asynchronous task