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