Table of Contents

Class InvalidateChannel

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the InvalidateChannel command

public sealed class InvalidateChannel : InvalidateChannel, IConnectionCommand
Inheritance
InvalidateChannel
Implements
Inherited Members

Constructors

Implementation of the InvalidateChannel command

public InvalidateChannel(LinkInterface linkInterface, ObjectModel model)

Parameters

linkInterface LinkInterface

Link interface

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 ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task