<commit_before>import Foundation

/// `CallbackQueue` represents queue where `handler` of `Session.send(_:handler:)` runs.
public enum CallbackQueue {
    /// Dispatches callback closure on main queue asynchronously.
    case main

    /// Dispatches callback closure on the queue where backend adapter callback runs.
    case sessionQueue

    /// Dispatches callback closure on associated operation queue.
    case operationQueue(OperationQueue)

    /// Dispatches callback closure on associated dispatch queue.
    case dispatchQueue(DispatchQueue)

    internal func execute(closure: @escaping () -> Void) {
        switch self {
        case .main:
            DispatchQueue.main.async {
                closure()
            }

        case .sessionQueue:
            closure()

        case .operationQueue(let operationQueue):
            operationQueue.addOperation {
                closure()
            }

        case .dispatchQueue(let dispatchQueue):
            dispatchQueue.async {
                closure()
            }
        }
    }
}
<commit_msg>Changes the access control of CallbackQueue.execute()<commit_after>import Foundation

/// `CallbackQueue` represents queue where `handler` of `Session.send(_:handler:)` runs.
public enum CallbackQueue {
    /// Dispatches callback closure on main queue asynchronously.
    case main

    /// Dispatches callback closure on the queue where backend adapter callback runs.
    case sessionQueue

    /// Dispatches callback closure on associated operation queue.
    case operationQueue(OperationQueue)

    /// Dispatches callback closure on associated dispatch queue.
    case dispatchQueue(DispatchQueue)

    public func execute(closure: @escaping () -> Void) {
        switch self {
        case .main:
            DispatchQueue.main.async {
                closure()
            }

        case .sessionQueue:
            closure()

        case .operationQueue(let operationQueue):
            operationQueue.addOperation {
                closure()
            }

        case .dispatchQueue(let dispatchQueue):
            dispatchQueue.async {
                closure()
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.07660550458715597, 'fraction_numerical': 0.0, 'mean_word_length': 2.0503496503496503, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6867875', 'n_tokens_mistral': 521, 'n_tokens_neox': 490, 'n_words': 159}