Files
nitro/packages/react-native-nitro-modules/cpp/platform/ThreadUtils.hpp
T
2024-07-31 17:39:56 +02:00

24 lines
379 B
C++

//
// ThreadUtils.hpp
// react-native-nitro
//
// Created by Marc Rousavy on 14.07.24.
//
#include <string>
namespace margelo::nitro {
class ThreadUtils final {
public:
ThreadUtils() = delete;
/**
* Get the current Thread's name.
* This is implemented differently on iOS and Android.
*/
static std::string getThreadName();
};
} // namespace margelo::nitro