simplification of Fetchers (#1344)
This commit is contained in:
committed by
GitHub
parent
21adbe2fac
commit
0b724bd4d5
@@ -543,7 +543,7 @@ func (c *client) NextInterval() (start, end uint64, err error) {
|
||||
|
||||
// Client interface for incoming peer Streamer
|
||||
type Client interface {
|
||||
NeedData(context.Context, []byte) func(context.Context) error
|
||||
NeedData(context.Context, []byte) (bool, func(context.Context) error)
|
||||
Close()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user