//
//  GeneralPluginsManager.swift
//  ZappApple
//
//  Created by Alex Zchut on 05/02/2020.
//  Copyright © 2020 Applicaster. All rights reserved.
//

import UIKit
import XrayLogger
import ZappCore

public typealias GeneralManagerPreparationCompletion = () -> Void

public class GeneralPluginsManager: PluginManagerBase {
    typealias pluginTypeProtocol = GeneralProviderProtocol

    lazy var typedProviderInstances: [GeneralProviderProtocol] = providersInstances.compactMap { $0 as? GeneralProviderProtocol }

    required init(datasource: PluginsManagerDataSource?) {
        super.init(datasource: datasource)
        pluginType = .General
    }
}
