mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
19 lines
526 B
Objective-C
19 lines
526 B
Objective-C
#import <SSignalKit/SSubscriber.h>
|
|
|
|
@interface SSignal : NSObject
|
|
{
|
|
@public
|
|
id<SDisposable> (^_generator)(SSubscriber *);
|
|
}
|
|
|
|
- (instancetype)initWithGenerator:(id<SDisposable> (^)(SSubscriber *))generator;
|
|
|
|
- (id<SDisposable>)startWithNext:(void (^)(id next))next error:(void (^)(id error))error completed:(void (^)())completed;
|
|
- (id<SDisposable>)startWithNext:(void (^)(id next))next;
|
|
- (id<SDisposable>)startWithNext:(void (^)(id next))next completed:(void (^)())completed;
|
|
|
|
- (SSignal *)trace:(NSString *)name;
|
|
|
|
@end
|
|
|