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
InvalidateChannel(LinkInterface, ObjectModel)
Implementation of the InvalidateChannel command
public InvalidateChannel(LinkInterface linkInterface, ObjectModel model)
Parameters
linkInterfaceLinkInterfaceLink interface
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 ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenOptional cancellation token
Returns
- Task
Asynchronous task