You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/AblyLiveObjects/Public/Public Proxy Objects/PublicObjectsStore.swift
+36-7Lines changed: 36 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
internalimport AblyPlugin
1
2
import Foundation
2
3
3
4
/// Stores the public objects that wrap the SDK's internal components.
@@ -20,6 +21,7 @@ internal final class PublicObjectsStore: Sendable {
20
21
21
22
internalstructRealtimeObjectsCreationArgs{
22
23
internalvarcoreSDK:CoreSDK
24
+
internalvarlogger:AblyPlugin.Logger
23
25
}
24
26
25
27
/// Fetches the cached `PublicDefaultRealtimeObjects` that wraps a given `InternalDefaultRealtimeObjects`, creating a new public object if there isn't already one.
@@ -31,6 +33,7 @@ internal final class PublicObjectsStore: Sendable {
31
33
32
34
internalstructCounterCreationArgs{
33
35
internalvarcoreSDK:CoreSDK
36
+
internalvarlogger:AblyPlugin.Logger
34
37
}
35
38
36
39
/// Fetches the cached `PublicDefaultLiveCounter` that wraps a given `InternalDefaultLiveCounter`, creating a new public object if there isn't already one.
@@ -43,6 +46,7 @@ internal final class PublicObjectsStore: Sendable {
43
46
internalstructMapCreationArgs{
44
47
internalvarcoreSDK:CoreSDK
45
48
internalvardelegate:LiveMapObjectPoolDelegate
49
+
internalvarlogger:AblyPlugin.Logger
46
50
}
47
51
48
52
/// Fetches the cached `PublicDefaultLiveMap` that wraps a given `InternalDefaultLiveMap`, creating a new public object if there isn't already one.
@@ -64,27 +68,37 @@ internal final class PublicObjectsStore: Sendable {
64
68
/// Fetches the proxy that wraps `proxied`, creating a new proxy if there isn't already one. Stores a weak reference to the proxy.
0 commit comments