def connect(self):
		if cint(self.settings.use_imap):
			return self.connect_imap()
		else:
			return self.connect_pop()
Return the handle that is ready for reading or `None` on timeout.
dataset/ETHPy150Open frappe/frappe/frappe/email/receive.py/EmailServer.connect--crossover with--dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/eventloop/win32.py/Win32EventLoop._ready_for_reading