userver: userver/concurrent/async_event_source.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
async_event_source.hpp File Reference

Detailed Description

The read-only side of an event channel. Events are delivered to listeners in a strict FIFO order, i.e. only after the event was processed a new event may appear for processing, same listener is never called concurrently.

Definition in file async_event_source.hpp.

Go to the source code of this file.

#include <cstddef>
#include <functional>
#include <string_view>
#include <typeinfo>
#include <utility>
+ Include dependency graph for async_event_source.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  concurrent::FunctionId
 
struct  concurrent::FunctionId::Hash
 
class  concurrent::AsyncEventSubscriberScope
 Manages the subscription to events from an AsyncEventSource. More...
 
class  concurrent::AsyncEventSource< Args >
 The read-only side of an event channel. Events are delivered to listeners in a strict FIFO order, i.e. only after the event was processed a new event may appear for processing, same listener is never called concurrently. More...
 

Namespaces

namespace  concurrent
 Locking stuff.
 

Enumerations

enum class  UnsubscribingKind {
  kManual ,
  kAutomatic
}