event/{Coarse,Fine}TimerEvent: add API docs

This commit is contained in:
Max Kellermann 2023-11-10 12:28:09 +01:00 committed by Max Kellermann
parent 3d2bd08132
commit 9383ceac30
2 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,9 @@ public:
return due; return due;
} }
/**
* Was this timer scheduled?
*/
bool IsPending() const noexcept { bool IsPending() const noexcept {
return is_linked(); return is_linked();
} }

View File

@ -62,6 +62,9 @@ public:
return due; return due;
} }
/**
* Was this timer scheduled?
*/
bool IsPending() const noexcept { bool IsPending() const noexcept {
return is_linked(); return is_linked();
} }