Skip to content

Commit

Permalink
Reduce header dependencies in RuntimeScheduler (facebook#39056)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#39056

## Changelog:
[Internal] - Reduce header dependencies in RuntimeScheduler

## Facebook:

Reviewed By: sammy-SC

Differential Revision: D48429842

fbshipit-source-id: 9c5ef33d9db39e0a2d33f3f5b0271ac01c8f60e7
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Aug 20, 2023
1 parent 722dc0d commit 53e5b03
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <ReactCommon/SchedulerPriority.h>
#include "SchedulerPriorityUtils.h"
#include "primitives.h"
#include "RuntimeScheduler.h"

#include <chrono>
#include <memory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
#pragma once

#include <jsi/jsi.h>
#include <react/renderer/runtimescheduler/RuntimeScheduler.h>

namespace facebook::react {

class RuntimeScheduler;

/*
* Exposes RuntimeScheduler to JavaScript realm.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include "RuntimeSchedulerCallInvoker.h"
#include "RuntimeScheduler.h"

#include <utility>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#pragma once

#include <ReactCommon/CallInvoker.h>
#include <react/renderer/runtimescheduler/RuntimeScheduler.h>

namespace facebook::react {

class RuntimeScheduler;
/*
* Exposes RuntimeScheduler to native modules. All calls invoked on JavaScript
* queue from native modules will be funneled through RuntimeScheduler.
Expand Down

0 comments on commit 53e5b03

Please sign in to comment.