//! [NodeActor] trait.
use async_trait;
use WaitForCancellationFuture;
/// The communication context used by the actor.
/// The [NodeActor] is an actor-like service for the node.
///
/// Actors may:
/// - Handle incoming messages.
/// - Perform background tasks.
/// - Emit new events for other actors to process.