github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/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 // asynchronous method has completed setup and the server is ready to 9 // receive other requests. 10 SetupDoneChan() chan struct{} 11 }