![]() |
Botcraft 1.21.4
|
#include <chrono>
#include <functional>
Go to the source code of this file.
Namespaces | |
namespace | Botcraft |
namespace | Botcraft::Utilities |
Functions | |
void | Botcraft::Utilities::SleepUntil (const std::chrono::steady_clock::time_point &end) |
template<class _Rep , class _Period > | |
void | Botcraft::Utilities::SleepFor (const std::chrono::duration< _Rep, _Period > &time) |
bool | Botcraft::Utilities::WaitForCondition (const std::function< bool()> &condition, const long long int timeout_ms=0, const long long int check_interval_ms=10) |
bool | Botcraft::Utilities::YieldForCondition (const std::function< bool()> &condition, BehaviourClient &client, const long long int timeout_ms=0) |