Table of Contents

Property IdleTimeout

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

IdleTimeout

Maximum amount of time allowed between any two subsequent messages before automatically unsubscribing.

public TimeSpan? IdleTimeout { get; init; }

Property Value

TimeSpan?

Remarks

If not set, all published messages will be received until explicitly unsubscribed or disposed.