43 void Hold(
int slot,
int index, std::function<
void()> commit);
46 int Index(
int slot)
const;
49 bool IsPending(
int slot,
int index)
const;
61 std::function<void()> Commit;
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
Per-player-slot value store that never leaks state across occupants.
"The occupant of this slot changed" - raised by PlayerManager, consumed below it.
Owns one registration and releases it on destruction.