Table of Contents

Class NotifyingSourceBlockHooks<T>

Namespace
CounterpointCollective.Dataflow.Notifying
Assembly
Dataflow.Composable.dll
public record NotifyingSourceBlockHooks<T> : NotifyingSourceBlockHooks, IEquatable<NotifyingSourceBlockHooks>, IEquatable<NotifyingSourceBlockHooks<T>>

Type Parameters

T
Inheritance
NotifyingSourceBlockHooks<T>
Implements
Inherited Members

Constructors

NotifyingSourceBlockHooks(ISourceBlock<T>)

public NotifyingSourceBlockHooks(ISourceBlock<T> SourceBlock)

Parameters

SourceBlock ISourceBlock<T>

Properties

OnDeliveringMessages

This Action will be executed when a messages are sent from the source block.

public Action<int>? OnDeliveringMessages { get; set; }

Property Value

Action<int>

OnReservationReleased

This Action will be executed when a linked target released its reservation.

public Action? OnReservationReleased { get; set; }

Property Value

Action

SourceBlock

public ISourceBlock<T> SourceBlock { get; init; }

Property Value

ISourceBlock<T>