Table of Contents

Method WriteEnableEventsAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

WriteEnableEventsAsync(PumpEvents, CancellationToken)

Asynchronously writes a value to the EnableEvents register.

public Task WriteEnableEventsAsync(PumpEvents value, CancellationToken cancellationToken = default)

Parameters

value PumpEvents

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.