qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches

Timer event for asynchronous I/O and timed operations. More...

#include "base.h"
Include dependency graph for timer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qb::io::async::event::timer
 Event for handling time-based operations (timers and timeouts). More...

Typedefs

using qb::io::async::event::timeout = timer
 Alias for qb::io::async::event::timer to be used specifically in timeout scenarios.

Detailed Description

Timer event for asynchronous I/O and timed operations.

This file defines the timer event structure which is used to handle timed operations in the asynchronous I/O system. It wraps libev's timer watcher functionality (ev::timer) to provide timeout and periodic callbacks.

Author
qb - C++ Actor Framework

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.