File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
Sources/Optimizely+Decide Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -236,32 +236,6 @@ extension OptimizelyClient {
236236 reasons: reasonsToReport)
237237 }
238238
239-
240- // func decide(user: OptimizelyUserContext,
241- // keys: [String],
242- // options: [OptimizelyDecideOption]? = nil) -> [String: OptimizelyDecision] {
243- // guard config != nil else {
244- // logger.e(OptimizelyError.sdkNotReady)
245- // return [:]
246- // }
247- //
248- // guard keys.count > 0 else { return [:] }
249- //
250- // let allOptions = defaultDecideOptions + (options ?? [])
251- //
252- // var decisions = [String: OptimizelyDecision]()
253- //
254- // let enabledFlagsOnly = allOptions.contains(.enabledFlagsOnly)
255- // keys.forEach { key in
256- // let decision = decide(user: user, key: key, options: options)
257- // if !enabledFlagsOnly || decision.enabled {
258- // decisions[key] = decision
259- // }
260- // }
261- //
262- // return decisions
263- // }
264-
265239 func decideAll( user: OptimizelyUserContext ,
266240 options: [ OptimizelyDecideOption ] ? = nil ) -> [ String : OptimizelyDecision ] {
267241 guard let config = self . config else {
You can’t perform that action at this time.
0 commit comments