This commit is contained in:
Tony Garnock-Jones 2021-08-13 20:16:12 -04:00
parent aee65ea029
commit 4491873ac8
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ pub type Handle = u64;
/// Responses to events must have type `ActorResult`.
pub type ActorResult = Result<(), Error>;
/// When integrating actors with [tokio], an `ActorHandle` represents
/// an actor mainloop task.
/// Methods [`Actor::boot`] and [`Actor::start`] return an
/// `ActorHandle`, representing the actor's mainloop task.
pub type ActorHandle = tokio::task::JoinHandle<ActorResult>;
/// A small protocol for indicating successful synchronisation with