maph 1.0.0 High-Performance Memory-Mapped Key-Value Database with O(1) Lookups

Loading...
Searching...
No Matches
Public Member Functions | List of all members
httplib::TaskQueue Class Referenceabstract

`#include <httplib.h>`

Inheritance diagram for httplib::TaskQueue:
Collaboration diagram for httplib::TaskQueue:

## Public Member Functions
| TaskQueue ()=default
virtual | ~TaskQueue ()=default
virtual bool | enqueue (std::function< void()> fn)=0
virtual void | shutdown ()=0
virtual void | on_idle ()

## Detailed Description

Definition at line 860 of file httplib.h.

## Constructor & Destructor Documentation

## ◆ TaskQueue()

httplib::TaskQueue::TaskQueue | ( |  | ) |
| default

## ◆ ~TaskQueue()

virtual httplib::TaskQueue::~TaskQueue | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ enqueue()

virtual bool httplib::TaskQueue::enqueue | ( | std::function< void()> | fn | ) |
| pure virtual

Implemented in httplib::ThreadPool.

## ◆ on_idle()

virtual void httplib::TaskQueue::on_idle | ( |  | ) |
| inline virtual

Definition at line 868 of file httplib.h.

## ◆ shutdown()

virtual void httplib::TaskQueue::shutdown | ( |  | ) |
| pure virtual

Implemented in httplib::ThreadPool.

The documentation for this class was generated from the following file:

- integrations/rest_api/httplib.h