// WaitForConnection waits maxWait for a connection or returns a timeout error
WaitForConnection waits maxWait for a connection or returns a timeout error
// WaitForConnection waits maxWait for a connection or returns a timeout error
func (sl *SignerListenerEndpoint) WaitForConnection(maxWait time.Duration) error {
	sl.instanceMtx.Lock()
	defer sl.instanceMtx.Unlock()
	return sl.ensureConnection(maxWait)
}
func ( sl * SignerListenerEndpoint ) WaitForConnection ( maxWait time . Duration ) error { sl . instanceMtx . Lock ( ) defer sl . instanceMtx . Unlock ( ) return sl . ensureConnection ( maxWait ) }
WaitForConnection waits maxWait for a connection or returns a timeout error
WaitForConnection waits maxWait for a connection or returns a timeout error