Pool Close()
should return error for compatibility with Client
#642
Labels
enhancement
Improving existing functionality
I3
Minimal impact
pool
Issue related to the pool
S3
Minimally significant
U2
Seriously planned
Milestone
Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to write additional wrappers. I want to have the pool's interface unified with the client's interface so no need to make wrappers like nspcc-dev/neo-go#3706 (comment).
Describe the solution you'd like
I'd like a returned error
func (p *Pool) Close() error
, similarly tofunc (c *Client) Close() error
.Describe alternatives you've considered
Additional context
Using SDK with both a pool and a single client.
The text was updated successfully, but these errors were encountered: