Gets a connection for the given selector.
The account selector.
A promise that resolves to the connection, if found.
Sets a connection for the given selector.
The account selector.
The connection to set.
A promise that resolves when the connection is set.
Interface representing a repository for managing connections.