Show / Hide Table of Contents

Interface IUpdateQueue<TIdentifier, TData>

Represents a generic update queue.

Inherited Members
IReferenceCounting.ActiveReferenceCount
IReferenceCounting.AddReferencingObject(object)
IReferenceCounting.RemoveReferencingObject(object)
IDisposable.Dispose()
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 Source

RequiresFlush

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 Source

Reset()

Resets the current data set.

Declaration
void Reset()
| Edit this page View Source

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.

Extension Methods

ReferenceCountingExtension.HasActiveReferences(IReferenceCounting)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX