EntitySubscriptionConfiguration constructor
EntitySubscriptionConfiguration({
- int? channelBufferCapacity,
- int? connectionMaxRetries,
- EntitySubscriptionConfigurationFullBufferBehaviour? onBufferFull,
- Duration? reconnectionDelay,
- double? retryDelayExponentFactor,
Implementation
EntitySubscriptionConfiguration({
int? channelBufferCapacity,
int? connectionMaxRetries,
EntitySubscriptionConfigurationFullBufferBehaviour? onBufferFull,
Duration? reconnectionDelay,
double? retryDelayExponentFactor
}) : onBufferFull = onBufferFull ?? EntitySubscriptionConfigurationFullBufferBehaviour.close,
reconnectionDelay = reconnectionDelay ?? Duration(seconds: 2),
retryDelayExponentFactor = retryDelayExponentFactor ?? 2.0,
_channelBufferCapacity = channelBufferCapacity ?? 100,
_connectionMaxRetries = connectionMaxRetries ?? 5;