mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
612 B
Objective-C
19 lines
612 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class YapDatabaseReadWriteTransaction;
|
|
|
|
typedef void (^ActionSuccessBlock)(void);
|
|
typedef void (^ActionFailureBlock)(void);
|
|
typedef void (^ActionPrepareBlock)(ActionSuccessBlock success, ActionFailureBlock failure);
|
|
typedef void (^StaggeredActionBlock)(NSUInteger index,
|
|
YapDatabaseReadWriteTransaction *transaction,
|
|
ActionSuccessBlock success,
|
|
ActionFailureBlock failure);
|
|
typedef void (^UnstaggeredActionBlock)(NSUInteger index, YapDatabaseReadWriteTransaction *transaction);
|
|
|
|
NS_ASSUME_NONNULL_END
|