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

     1  package cluster
     2  
     3  import "github.com/asynkron/protoactor-go/actor"
     4  
     5  // Context is an interface any cluster context needs to implement
     6  type Context interface {
     7  	Request(identity string, kind string, message interface{}, opts ...GrainCallOption) (interface{}, error)
     8  	RequestFuture(identity string, kind string, message interface{}, opts ...GrainCallOption) (*actor.Future, error)
     9  }