Interface IUpdateQueue<TIdentifier, TData>
Represents a generic update queue.
Inherited Members
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public interface IUpdateQueue<TIdentifier, TData> : IReferenceCounting, IDisposable where TIdentifier : notnull
Type Parameters
Name | Description |
---|---|
TIdentifier | The identifier used to identify the data processed by this queue. |
TData | The type of the data processed by this queue. |
Properties
| Edit this page View SourceRequiresFlush
Gets a bool indicating if the queue requires a flush of all data due to an internal error.
Declaration
bool RequiresFlush { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceReset()
Resets the current data set.
Declaration
void Reset()
SetData(ReadOnlySpan<(TIdentifier, TData)>)
Sets or merges the provided data set in the current dataset and notifies the trigger that there is new data available.
Declaration
void SetData(ReadOnlySpan<(TIdentifier, TData)> dataSet)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<(TIdentifier, TData)> | dataSet | The set of data. |