LSEG Data Library for .NET

OnRemove

Optional callback invoked when an existing element has been removed from the chain decreasing its size.

Syntax

IChainStream OnRemove(Action<int, string, IChainStream> removeCb)

Usage

The following example demonstrates how to display the messages received when a constituent is removed from the stream.

var chainStream = Chain.Definition(".AV.O")
                       .GetStream()
                       .OnRemove((index, oldv, stream) => {});