Table of Contents

Constructor Group

Namespace
NATS.Client.Services
Assembly
NATS.Client.Services.dll

Group(NatsSvcServer, string, string?, CancellationToken)

Creates a new instance of NatsSvcServer.Group.

public Group(NatsSvcServer server, string groupName, string? queueGroup = null, CancellationToken cancellationToken = default)

Parameters

server NatsSvcServer

Service instance.

groupName string

Group name.

queueGroup string

Optional queue group.

cancellationToken CancellationToken

A CancellationToken may be used to cancel th call in the future.