parameters: (self, val: DataT)
docstring: Notify all futures of a new poll result.
docstring_summary: Notify all futures of a new poll result.
docstring_tokens: Notify all futures of a new poll result .
function: def _notify(self, val: DataT) -> None:
          """Notify all futures of a new poll result."""
          while self._futures:
              f = self._futures.popleft()
              f.set_result(val)
function_tokens: def _notify ( self , val : DataT ) -> None : while self . _futures : f = self . _futures . popleft ( ) f . set_result ( val )