delve/service/rpccallback.go

12 lines
369 B
Go
Raw Normal View History

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
2023-04-27 20:39:33 +00:00
// asynchronous method has completed setup and the server is ready to
// receive other requests.
SetupDoneChan() chan struct{}
}