22 lines
427 B
Objective-C
22 lines
427 B
Objective-C
#pragma once
|
|
|
|
#include <stdio.h>
|
|
#include "Scheduler.h"
|
|
#import <ReactCommon/CallInvoker.h>
|
|
#import <React/RCTUIManager.h>
|
|
|
|
namespace reanimated
|
|
{
|
|
|
|
using namespace facebook;
|
|
using namespace react;
|
|
|
|
class REAIOSScheduler : public Scheduler {
|
|
public:
|
|
REAIOSScheduler(std::shared_ptr<CallInvoker> jsInvoker);
|
|
void scheduleOnUI(std::function<void()> job) override;
|
|
virtual ~REAIOSScheduler();
|
|
};
|
|
|
|
} // namespace reanimated
|