<commit_before>/**
 * Created by tushar.mathur on 05/10/16.
 */

import {ISubscription} from './ISubscription'
import {IObserver} from './IObserver'

export interface ISubscriberFunction<T> {
  (observer: IObserver<T>): ISubscription
}
<commit_msg>refactor(ISubscriberFunction): support multiple disposable types<commit_after>/**
 * Created by tushar.mathur on 05/10/16.
 */

import {ISubscription} from './ISubscription'
import {IObserver} from './IObserver'

export interface ISubscriberFunction<T> {
  (observer: IObserver<T>): ISubscription | void | (() => void)
}

{'fraction_non_alphanumeric': 0.14235500878734622, 'fraction_numerical': 0.0210896309314587, 'mean_word_length': 5.263736263736264, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1543438', 'n_tokens_mistral': 195, 'n_tokens_neox': 183, 'n_words': 46}