123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #import <Realm/RLMConstants.h>
- #ifdef __cplusplus
- #include <memory>
- namespace realm::util {
- class Scheduler;
- }
- #endif
- RLM_HEADER_AUDIT_BEGIN(nullability, sendability)
- RLM_SWIFT_SENDABLE
- @interface RLMScheduler : NSObject
- + (RLMScheduler *)mainRunLoop __attribute__((objc_direct));
- + (RLMScheduler *)currentRunLoop __attribute__((objc_direct));
- + (RLMScheduler *)dispatchQueue:(nullable dispatch_queue_t)queue;
- - (void)invoke:(dispatch_block_t)block;
- - (void *)cacheKey;
- #ifdef __cplusplus
- - (std::shared_ptr<realm::util::Scheduler>)osScheduler;
- #endif
- @end
- RLM_HEADER_AUDIT_END(nullability, sendability)
|