Files
Fluxup_PAP/node_modules/react-native/ReactCommon/jsinspector-modern/ExecutionContextManager.cpp
2026-03-10 16:18:05 +00:00

20 lines
500 B
C++

/*
* 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.
*/
#include "ExecutionContextManager.h"
#include <cassert>
namespace facebook::react::jsinspector_modern {
int32_t ExecutionContextManager::allocateExecutionContextId() {
assert(nextExecutionContextId_ != INT32_MAX);
return nextExecutionContextId_++;
}
} // namespace facebook::react::jsinspector_modern