nixd
|
An Event<T> allows events of type T to be broadcast to listeners. More...
#include <Function.h>
Classes | |
class | Subscription |
Public Types | |
using | Listener = std::function<void(const T &)> |
Public Member Functions | |
Subscription | observe (Listener L) |
void | broadcast (const T &V) |
~Event () | |
An Event<T> allows events of type T to be broadcast to listeners.
Definition at line 17 of file Function.h.
using lspserver::Event< T >::Listener = std::function<void(const T &)> |
Definition at line 20 of file Function.h.
|
inline |
Definition at line 76 of file Function.h.
|
inline |
Definition at line 69 of file Function.h.
|
inline |
Definition at line 61 of file Function.h.