
* service: serialize calls to Command API Wait until the target process has resumed before accepting new calls to Command. Before this if a 'continue' was immediately followed by a 'halt' the 'halt' could be processed before the 'continue'. Fixes #1608 Fixes #2216 * service/rpccommon: fix DeepSource issues
12 lines
365 B
Go
12 lines
365 B
Go
package service
|
|
|
|
// RPCCallback is used by RPC methods to return their result asynchronously.
|
|
type RPCCallback interface {
|
|
Return(out interface{}, err error)
|
|
|
|
// SetupDone 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{}
|
|
}
|