Skip to content

Commit f66f464

Browse files
authored
Revert "fix: change EventDispatcher to EventProcessor + EventHandler (#272)" (#278)
This reverts commit 1b5deaa.
1 parent bb8ba4b commit f66f464

37 files changed

+650
-2825
lines changed

DemoSwiftApp/AppDelegate.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
9999
// 30 sec interval may be too frequent. This is for demo purpose.
100100
// This should be should be much larger (default = 10 mins).
101101
let customDownloadIntervalInSecs = 30
102-
103-
let eventProcessor = BatchEventProcessor(batchSize: 10, timerInterval: 30, maxQueueSize: 1000)
104102

105103
optimizely = OptimizelyClient(sdkKey: sdkKey,
106104
logger: customLogger,
107-
eventProcessor: eventProcessor,
108105
periodicDownloadInterval: customDownloadIntervalInSecs,
109106
defaultLogLevel: logLevel)
110107

OptimizelySwiftSDK.xcodeproj/project.pbxproj

Lines changed: 32 additions & 246 deletions
Large diffs are not rendered by default.

Sources/Customization/BatchEventProcessor.swift

Lines changed: 0 additions & 302 deletions
This file was deleted.

0 commit comments

Comments
 (0)