delve/service/rpccallback.go
2022-03-09 09:12:42 -08:00

12 lines
369 B
Go

package service
// RPCCallback is used by RPC methods to return their result asynchronously.
type RPCCallback interface {
Return(out interface{}, err error)
// SetupDoneChan returns a channel that should be closed to signal that the
// asynchornous method has completed setup and the server is ready to
// receive other requests.
SetupDoneChan() chan struct{}
}