diff --git a/actors/context.go b/actors/context.go index bbfd1753..d5ee5eee 100644 --- a/actors/context.go +++ b/actors/context.go @@ -28,7 +28,7 @@ type ReceiveContext interface { RemoteSender() *pb.Address // Become switch the current behavior of the actor to a new behavior // The current message in process during the transition will still be processed with the current - // behavior before the transition. However, subsequent public will be processed with the new behavior. + // behavior before the transition. However, subsequent messages will be processed with the new behavior. // One needs to call UnBecome to reset the actor behavior to the default one which is the Actor.Receive method // which is the default behavior. Become(behavior Behavior) @@ -37,7 +37,7 @@ type ReceiveContext interface { UnBecome() // BecomeStacked sets a new behavior to the actor. // The current message in process during the transition will still be processed with the current - // behavior before the transition. However, subsequent public will be processed with the new behavior. + // behavior before the transition. However, subsequent messages will be processed with the new behavior. // One needs to call UnBecomeStacked to go the previous the actor's behavior. // which is the default behavior. BecomeStacked(behavior Behavior) @@ -108,7 +108,7 @@ func (m *receiveContext) Message() proto.Message { // BecomeStacked sets a new behavior to the actor. // The current message in process during the transition will still be processed with the current -// behavior before the transition. However, subsequent public will be processed with the new behavior. +// behavior before the transition. However, subsequent messages will be processed with the new behavior. // One needs to call UnBecomeStacked to go the previous the actor's behavior. // which is the default behavior. func (m *receiveContext) BecomeStacked(behavior Behavior) {