/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ export {FlipperServerImpl} from './FlipperServerImpl'; export {loadSettings} from './utils/settings'; export {loadLauncherSettings} from './utils/launcherSettings'; export {loadProcessConfig} from './utils/processConfig'; import GKImplementation from './fb-stubs/GK'; export {setupPrefetcher} from './fb-stubs/Prefetcher'; let loaded = false; export function getGatekeepers(): Record { if (!loaded) { // this starts fetching gatekeepers, note that they will only be available on next restart! GKImplementation.init(); loaded = true; } return GKImplementation.allGKs(); }