Table of Contents

Class TripletsOperation.Subscribe

Namespace
Foundation.Data.Doublets.Cli.Protocol
Assembly
Foundation.Data.Doublets.Cli.dll

Asks a LinksServer to push the changes other connections make to the triplets matching the restriction; only the server can run it, so Execute(ITriplets<uint>) on a store throws.

public sealed record TripletsOperation.Subscribe : TripletsOperation, IEquatable<TripletsOperation>, IEquatable<TripletsOperation.Subscribe>
Inheritance
TripletsOperation.Subscribe
Implements
Inherited Members

Constructors

Subscribe(LinksRestriction)

Asks a LinksServer to push the changes other connections make to the triplets matching the restriction; only the server can run it, so Execute(ITriplets<uint>) on a store throws.

public Subscribe(LinksRestriction Restriction)

Parameters

Restriction LinksRestriction

Properties

Restriction

public LinksRestriction Restriction { get; init; }

Property Value

LinksRestriction

Methods

Execute(ITriplets<uint>)

Runs the operation against triplets and returns the reply document.

public override IReadOnlyList<Link<string>> Execute(ITriplets<uint> triplets)

Parameters

triplets ITriplets<uint>

Returns

IReadOnlyList<Link<string>>