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

12 lines
283 B
C
Raw Normal View History

2014-07-10 16:11:09 +02:00
#import "PSKeyValueReader.h"
#import "PSKeyValueWriter.h"
@protocol PSKeyValueStore <NSObject>
2015-10-01 18:19:52 +02:00
- (void)readInTransaction:(void (^)(id<PSKeyValueReader>))transaction;
- (void)readWriteInTransaction:(void (^)(id<PSKeyValueReader, PSKeyValueWriter>))transaction;
2014-07-10 16:11:09 +02:00
- (void)sync;
@end