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
/// The default behavior for the SDK is to send events.
192
+
staticletsendEvents=true
193
+
191
194
/// The default maximum number of events the LDClient can store
192
195
staticleteventCapacity=100
193
196
@@ -305,6 +308,10 @@ public struct LDConfig {
305
308
/// The base url for connecting to the streaming service. Do not change unless instructed by LaunchDarkly.
306
309
publicvarstreamUrl:URL=Defaults.streamUrl
307
310
311
+
/// Whether to send events back to LaunchDarkly. This differs from {#offline?} in that it affects
312
+
/// only the sending of client-side events, not streaming or polling for events from the server.
313
+
publicvarsendEvents:Bool=Defaults.sendEvents
314
+
308
315
/// The maximum number of analytics events the LDClient can store. When the LDClient event store reaches the eventCapacity, the SDK discards events until it successfully reports them to LaunchDarkly. (Default: 100)
0 commit comments