PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/react-native/ReactAndroid/src/main/jni/react/jni

Просмотр файла: JRuntimeScheduler.h

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

#pragma once

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

namespace facebook::react {

class JRuntimeScheduler : public jni::HybridClass<JRuntimeScheduler> {
 public:
  static auto constexpr kJavaDescriptor =
      "Lcom/facebook/react/bridge/RuntimeScheduler;";

  std::weak_ptr<RuntimeScheduler> get();

 private:
  friend HybridBase;
  JRuntimeScheduler(std::weak_ptr<RuntimeScheduler> runtimeScheduler);
  std::weak_ptr<RuntimeScheduler> runtimeScheduler_;
};

} // namespace facebook::react

Выполнить команду


Для локальной разработки. Не используйте в интернете!