The self
member function
allows you to obtain an jss::actor_ref
object that refers
to the current actor.
jss::actor_ref self();
An instance of jss::actor_ref
that refers
to the actor running the current thread.
jss::no_actor
if the current thread is not running an actor.
#include <jss/actor.hpp>