func getContext()

in Sources/Confidence/Confidence.swift [360:373]


    func getContext(parentContext: ConfidenceStruct) -> ConfidenceStruct {
        contextQueue.sync {  [weak self] in
            guard let self = self else {
                return [:]
            }
            var reconciledCtx = parentContext.filter {
                !self.removedContextKeys.contains($0.key)
            }
            context.forEach { entry in
                reconciledCtx.updateValue(entry.value, forKey: entry.key)
            }
            return reconciledCtx
        }
    }