mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 12:05:21 +08:00
Changes came from running https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize on the codebase.
16 lines
540 B
Go
16 lines
540 B
Go
package service
|
|
|
|
// RPCCallback is used by RPC methods to return their result asynchronously.
|
|
type RPCCallback interface {
|
|
Return(out any, err error)
|
|
|
|
// SetupDoneChan returns a channel that should be closed to signal that the
|
|
// asynchronous method has completed setup and the server is ready to
|
|
// receive other requests.
|
|
SetupDoneChan() chan struct{}
|
|
|
|
// DisconnectChan returns a channel that should be closed to signal that
|
|
// the client that initially issued the command has been disconnected.
|
|
DisconnectChan() chan struct{}
|
|
}
|