async def get_pushed_stream_ids(self, parent_stream_id: int) -> List[int]:
if parent_stream_id not in self._streams:<EOL><INDENT>logger.error(<EOL>f'<STR_LIT>'<EOL>)<EOL>raise NoSuchStreamError(parent_stream_id)<EOL><DEDENT>parent = self._get_stream(parent_stream_id)<EOL>await parent.pushed_streams_available.wait()<EOL>pushed_streams_ids = self._pushed_stream_ids[parent.id]<EOL>stream_ids: List[int] = []<EOL>if len(pushed_streams_ids) > <NUM_LIT:0>:<EOL><INDENT>stream_ids.extend(pushed_streams_ids)<EOL>pushed_streams_ids.clear()<EOL>parent.pushed_streams_available.clear()<EOL><DEDENT>return stream_ids<EOL>
Return a list of all streams pushed by the remote peer that are
        children of the specified stream. If no streams have been pushed when
        this method is called, waits until at least one stream has been pushed.