Constructor NatsSvcServer
NatsSvcServer(NatsConnection, NatsSvcConfig, CancellationToken)
Creates a new instance of NatsSvcServer.
public NatsSvcServer(NatsConnection nats, NatsSvcConfig config, CancellationToken cancellationToken)
Parameters
nats
NatsConnectionNATS connection.
config
NatsSvcConfigService configuration.
cancellationToken
CancellationTokenA CancellationToken used to cancel the service creation requests.