EntitySubscriptionConfiguration constructor

EntitySubscriptionConfiguration({
  1. int? channelBufferCapacity,
  2. int? connectionMaxRetries,
  3. EntitySubscriptionConfigurationFullBufferBehaviour? onBufferFull,
  4. Duration? reconnectionDelay,
  5. 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;