@@ -24,7 +24,7 @@ public final class DefaultConnectionRecoveryHandler: ConnectionRecoveryHandler,
2424 private let eventNotificationCenter : EventNotificationCenter
2525 private let backgroundTaskScheduler : BackgroundTaskScheduler ?
2626 private let internetConnection : InternetConnection
27- private let reconnectionTimerType : StreamTimer . Type
27+ private let reconnectionTimerType : TimerScheduling . Type
2828 private let keepConnectionAliveInBackground : Bool
2929 private nonisolated ( unsafe) var reconnectionStrategy: RetryStrategy
3030 private nonisolated ( unsafe) var reconnectionTimer: TimerControl ?
@@ -38,7 +38,7 @@ public final class DefaultConnectionRecoveryHandler: ConnectionRecoveryHandler,
3838 backgroundTaskScheduler: BackgroundTaskScheduler ? ,
3939 internetConnection: InternetConnection ,
4040 reconnectionStrategy: RetryStrategy ,
41- reconnectionTimerType: StreamTimer . Type ,
41+ reconnectionTimerType: TimerScheduling . Type ,
4242 keepConnectionAliveInBackground: Bool
4343 ) {
4444 self . init (
@@ -63,7 +63,7 @@ public final class DefaultConnectionRecoveryHandler: ConnectionRecoveryHandler,
6363 backgroundTaskScheduler: BackgroundTaskScheduler ? ,
6464 internetConnection: InternetConnection ,
6565 reconnectionStrategy: RetryStrategy ,
66- reconnectionTimerType: StreamTimer . Type ,
66+ reconnectionTimerType: TimerScheduling . Type ,
6767 keepConnectionAliveInBackground: Bool ,
6868 reconnectionPolicies: [ AutomaticReconnectionPolicy ]
6969 ) {
0 commit comments