class Receiver

Defined at line 63 of file ../../sdk/lib/async/include/lib/async/cpp/receiver.h

A receiver whose handler is bound to a |async::Task::Handler| function.

Prefer using |async::ReceiverMethod| instead for binding to a fixed class member

function since it is more efficient to dispatch.

Public Methods

void Receiver (Handler handler)

Defined at line 21 of file ../../sdk/lib/async/receiver.cc

void ~Receiver ()

Defined at line 24 of file ../../sdk/lib/async/receiver.cc

void set_handler (Handler handler)

Defined at line 75 of file ../../sdk/lib/async/include/lib/async/cpp/receiver.h

bool has_handler ()

Defined at line 76 of file ../../sdk/lib/async/include/lib/async/cpp/receiver.h