code: def event_listen(self, timeout=None, raise_on_disconnect=True):
  		'''Does not return until PulseLoopStop
  				gets raised in event callback or timeout passes.
  			timeout should be in seconds (float),
  				0 for non-blocking poll and None (default) for no timeout.
  			raise_on_disconnect causes PulseDisconnected exceptions by default.
  			Do not run any pulse operations from these callbacks.'''
  		assert self.event_callback
  		try: self._pulse_poll(timeout)
  		except c.pa.CallError: pass # e.g. from mainloop_dispatch() on disconnect
  		if raise_on_disconnect and not self.connected: raise PulseDisconnected(f event_listen(self, timeout=None, raise_on_disconnect=True):
  		'''Does not return until PulseLoopStop
  				gets raised in event callback or timeout passes.
  			timeout should be in seconds (float),
  				0 for non-blocking poll and None (default) for no timeout.
  			raise_on_disconnect causes PulseDisconnected exceptions by default.
  			Do not run any pulse operations from these callbacks.'''
  		assert self.event_callback
  		try: self._pulse_poll(timeout)
  		except c.pa.CallError: pass # e.g. from mainloop_dispatch() on disconnect
  		if raise_on_disconnect and not self.connected: raise PulseDisconnected()
docs: Does not return until PulseLoopStop
  				gets raised in event callback or timeout passes.
  			timeout should be in seconds (float),
  				0 for non-blocking poll and None (default) for no timeout.
  			raise_on_disconnect causes PulseDisconnected exceptions by default.
  			Do not run any pulse operations from these callbacks.