GT2/Ejectable/node_modules/react-native-reanimated/ios/native/REAIOSScheduler.h

22 lines
427 B
C
Raw Normal View History

2021-08-16 00:14:59 +00:00
#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