---
title: "Discussion on \"anext() function in Python\" | Hashnode"
description: "Discussion on \"anext() function in Python\". Introduction\nanext() is a new function that came in Python 3.10 version. It returns the next item from an asynchronous iterator when awaited, or default if given and the iterator is exhausted. This is the async variant of the next() built-in and beha..."
url: "https://hashnode.com/posts/anext-function-in-python/6344629b6d64be07a724af79"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [anext() function in Python](https://blog.ashutoshkrris.in/anext-function-in-python?utm_source=hashnode&utm_medium=feed)

Introduction anext() is a new function that came in Python 3.10 version. It returns the next item from an asynchronous iterator when awaited, or default if given and the iterator is exhausted. This is the async variant of the next() built-in and beha...

Oct 10, 2022 · 2 min read · blog.ashutoshkrris.in  
Updated Mar 18, 2023  
Read the article

-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#beginner](https://hashnode.com/tag/beginner)

## Written by

[Ashutosh Krishna](https://hashnode.com/@ashutoshkrris)

@ashutoshkrris · Bengaluru, India

  
[View profile](https://hashnode.com/@ashutoshkrris)

Building reliable software with Java, Spring Boot, Python, and the web

Software Engineer at OpenText passionate about building scalable web applications and backend systems. I work mainly with Java, Spring Boot, Python, and modern web technologies. I enjoy creating things for the internet, exploring new tech, and sharing what I learn along the way.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
