38 return index >= 0 &&
Index(
slot) == index;
50 _entries[
slot] = Entry{};
62 _entries[
slot] = Entry{};
bool IsPending(int slot, int index) const
PendingCommit(Timer timer, SlotEvents &slots)
static constexpr int64_t DelayMs
void Hold(int slot, int index, std::function< void()> commit)
int Index(int slot) const
std::function< Subscription(int64_t delayMs, std::function< void()> callback)> Timer
"The occupant of this slot changed" - raised by PlayerManager, consumed below it.
Owns one registration and releases it on destruction.
static std::string ReadFile(const std::filesystem::path &path)
constexpr bool IsValidSlot(int slot)