rotor
Event loop friendly C++ actor micro-framework
Loading...
Searching...
No Matches
rotor::payload::create_actor_t Struct Reference

Message with this payload is sent to supervisor when an actor is created (constructed). More...

#include <messages.hpp>

Public Attributes

actor_ptr_t actor
 the intrusive pointer to created actor
pt::time_duration timeout
 maximum time for actor initialization

Detailed Description

Message with this payload is sent to supervisor when an actor is created (constructed).

The message is needed for internal supervisor_t housekeeping.

Member Data Documentation

◆ timeout

pt::time_duration rotor::payload::create_actor_t::timeout

maximum time for actor initialization

If an actor isn't able to confirm initialization in time, it will be asked to shutdown (default behavior)


The documentation for this struct was generated from the following file:
  • /home/b/development/cpp/cpp-rotor/include/rotor/messages.hpp