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