ISharedDataChannel<T>
USI.Core
A typed named channel shared through the selected simulator.
public interface ISharedDataChannel<T> : IAsyncDisposableProperties
Name
public string Name { get; }Events
Changed
public event EventHandler<SharedDataChangedEventArgs<T>> ChangedRaised 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)