feat: add initial experimental Twitch Eventsub support (#5837)
Co-authored-by: nerix <nerixdev@outlook.de>
This commit is contained in:
@@ -14,6 +14,15 @@ struct ThreadGuard {
|
||||
mutable std::optional<std::thread::id> threadID;
|
||||
#endif
|
||||
|
||||
ThreadGuard() = default;
|
||||
|
||||
explicit ThreadGuard(std::thread::id threadID_)
|
||||
#ifndef NDEBUG
|
||||
: threadID(threadID_)
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
inline void guard() const
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
|
||||
Reference in New Issue
Block a user