1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/PSKeyValueStore.h
2015-10-01 19:19:52 +03:00

12 lines
283 B
Objective-C

#import "PSKeyValueReader.h"
#import "PSKeyValueWriter.h"
@protocol PSKeyValueStore <NSObject>
- (void)readInTransaction:(void (^)(id<PSKeyValueReader>))transaction;
- (void)readWriteInTransaction:(void (^)(id<PSKeyValueReader, PSKeyValueWriter>))transaction;
- (void)sync;
@end