123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #import "FBLPromise.h"
- NS_ASSUME_NONNULL_BEGIN
- FOUNDATION_EXTERN BOOL FBLWaitForPromisesWithTimeout(NSTimeInterval timeout) NS_REFINED_FOR_SWIFT;
- @interface FBLPromise<Value>(TestingAdditions)
- @property(class, nonatomic, readonly) dispatch_group_t dispatchGroup NS_REFINED_FOR_SWIFT;
- @property(nonatomic, readonly) BOOL isPending NS_REFINED_FOR_SWIFT;
- @property(nonatomic, readonly) BOOL isFulfilled NS_REFINED_FOR_SWIFT;
- @property(nonatomic, readonly) BOOL isRejected NS_REFINED_FOR_SWIFT;
- @property(nonatomic, readonly, nullable) Value value NS_REFINED_FOR_SWIFT;
- @property(nonatomic, readonly, nullable) NSError *error NS_REFINED_FOR_SWIFT;
- @end
- NS_ASSUME_NONNULL_END
|