Revert D36052198: Partially remove dependency on folly async

Differential Revision:
D36052198 (ade685c621)

Original commit changeset: 170d64a324a1

Original Phabricator Diff: D36052198 (ade685c621)

fbshipit-source-id: 69d2b18e70a6267667432d6ed9dc1c5bc545b417
This commit is contained in:
Billy Ng
2022-05-12 18:47:41 -07:00
committed by Facebook GitHub Bot
parent ade685c621
commit 3804ccf898
18 changed files with 116 additions and 132 deletions

View File

@@ -7,8 +7,8 @@
#pragma once
#include <folly/io/async/EventBase.h>
#include <map>
#include "FlipperScheduler.h"
namespace facebook {
namespace flipper {
@@ -30,14 +30,14 @@ struct FlipperInitConfig {
DeviceData deviceData;
/**
Scheduler on which client callbacks should be called.
EventBase on which client callbacks should be called.
*/
Scheduler* callbackWorker;
folly::EventBase* callbackWorker;
/**
Scheduler to be used to maintain the network connection.
EventBase to be used to maintain the network connection.
*/
Scheduler* connectionWorker;
folly::EventBase* connectionWorker;
int insecurePort = 9089;
int securePort = 9088;