Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: add ConnectionObserver to the connection_pool
ConnectionObserver provides an observer semantics for components interested in knowing changes of connections in a ConnectionPool. We have to take into account that user callbacks can take an indefinite amount of time. The simplest solution is to process each connection in a separate goroutine. This should not affect to performance because most of the time these goroutines are blocked. Closes #178
- Loading branch information