github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/actor/process.go (about)

     1  package actor
     2  
     3  // A Process is an interface that defines the base contract for interaction of actors
     4  type Process interface {
     5  	SendUserMessage(pid *PID, message interface{})
     6  	SendSystemMessage(pid *PID, message interface{})
     7  	Stop(pid *PID)
     8  }