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

     1  package remote
     2  
     3  import "github.com/asynkron/protoactor-go/actor"
     4  
     5  // func remoteHandler(pid *actor.PID) (actor.Process, bool) {
     6  // 	ref := newProcess(pid, nil)
     7  // 	return ref, true
     8  // }
     9  
    10  func (r *Remote) remoteHandler(pid *actor.PID) (actor.Process, bool) {
    11  	ref := newProcess(pid, r)
    12  	return ref, true
    13  }