<commit_before>//
//  Handler.swift
//  Events
//
//  Created by <NAME> on 12/2/15.
//  Copyright © 2015 BLITZ. All rights reserved.
//

import Foundation


public struct Handler{
    let publisher: EventManager
    let subscriber: EventManager
    let listener: Listener
    let callback: (Event) -> ()
}<commit_msg>makes references to pub and sub and listener unowned<commit_after>//
//  Handler.swift
//  Events
//
//  Created by <NAME> on 12/2/15.
//  Copyright © 2015 BLITZ. All rights reserved.
//

import Foundation


public struct Handler{
    unowned let publisher: EventManager
    unowned let subscriber: EventManager
    unowned let listener: Listener
    let callback: (Event) -> ()

    init(publisher: EventManager, subscriber: EventManager, listener: Listener, callback: (Event)->()){
        self.publisher = publisher
        self.subscriber = subscriber
        self.listener = listener
        self.callback = callback
    }
}
{'fraction_non_alphanumeric': 0.10676532769556026, 'fraction_numerical': 0.019027484143763214, 'mean_word_length': 2.834008097165992, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '488099', 'n_tokens_mistral': 294, 'n_tokens_neox': 264, 'n_words': 91}