Seastar
High performance C++ framework for concurrent servers
Public Types | Public Member Functions | List of all members
seastar::subscription< T > Class Template Reference

Public Types

using next_fn = typename stream< T... >::next_fn
 

Public Member Functions

 subscription (subscription &&x)
 
void start (next_fn next)
 Start receiving events from the stream. More...
 
future done ()
 

Member Function Documentation

◆ start()

template<typename... T>
void seastar::subscription< T >::start ( next_fn  next)
inline

Start receiving events from the stream.

Parameters
nextCallback to call for each event

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