System/Library/PrivateFrameworks/HMFoundation.framework

HMFPromise.h

Download HMFPromise.h

  1. NSObject
@class HMFAsyncFuture;

@interface HMFPromise : NSObject {
    HMFAsyncFuture *_future;
    id /* block */ _completion;
    struct atomic_flag { _Atomic BOOL _Value; } _resolved;
}

@property (readonly, copy) id /* block */ resolverBlock;
@property (readonly, copy) id /* block */ errorOnlyResolverBlock;
@property (readonly, copy) id /* block */ voidResolverBlock;

- (void)dealloc;
- (BOOL)fulfillWithValue:(id)a0;
- (void).cxx_destruct;
- (BOOL)resolveWithFuture:(id)a0;
- (BOOL)rejectWithError:(id)a0;
- (BOOL)fulfillWithNoValue;

@end