Interface

ISharedDataChannel<T>

USI.Core

A typed named channel shared through the selected simulator.

public interface ISharedDataChannel<T> : IAsyncDisposable

Properties

Name

public string Name { get; }

Events

Changed

public event EventHandler<SharedDataChangedEventArgs<T>> Changed

Raised when the value observed through the simulator changes. The initial observation establishes a baseline and does not raise this event.

Methods

TryReadAsync

public Task<USIResult<T>> TryReadAsync()

TryWriteAsync

public Task<USIResult> TryWriteAsync(T value)