github.com/emad-elsaid/delve@v0.0.0-20220828190829-96212cb354b1/service/rpccallback.go (about) 1 package service 2 3 // RPCCallback is used by RPC methods to return their result asynchronously. 4 type RPCCallback interface { 5 Return(out interface{}, err error) 6 7 // SetupDoneChan returns a channel that should be closed to signal that the 8 // asynchornous method has completed setup and the server is ready to 9 // receive other requests. 10 SetupDoneChan() chan struct{} 11 }