Add ResultWriter type

This commit is contained in:
Ken Hibino
2021-09-20 15:10:28 -07:00
parent b10504998a
commit f06404a9a8
7 changed files with 150 additions and 0 deletions

View File

@@ -676,5 +676,6 @@ type Broker interface {
ClearServerState(host string, pid int, serverID string) error
CancelationPubSub() (*redis.PubSub, error) // TODO: Need to decouple from redis to support other brokers
PublishCancelation(id string) error
WriteResult(qname, id string, data []byte) (n int, err error)
Close() error
}