Table of Contents

Method WriteEnableEventsAsync

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

WriteEnableEventsAsync(SoundCardEvents, CancellationToken)

Asynchronously writes a value to the EnableEvents register.

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

Parameters

value SoundCardEvents

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.