Files
nitro/packages/react-native-nitro-modules/cpp/platform/ThreadUtils.hpp
T
2024-07-18 01:30:33 +02:00

24 lines
381 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