fetchData(of:completionHandler:)
Declaration
func fetchData(of dataTypes: Set<String>, completionHandler: @escaping @MainActor @Sendable (Data?, (any Error)?) -> Void)func fetchData(of dataTypes: Set<String>) async throws -> Datafunc fetchData(of dataTypes: Set<String>, completionHandler: @escaping @MainActor @Sendable (Data?, (any Error)?) -> Void)func fetchData(of dataTypes: Set<String>) async throws -> Data