Skip to main content

Module coroutine

Module coroutine 

Source
Available on crate feature experimental-async only.

Re-exportsยง

use core::future::Future; ๐Ÿ”’
use crate::Py; ๐Ÿ”’
use crate::PyAny; ๐Ÿ”’
use crate::PyResult; ๐Ÿ”’
use crate::Python; ๐Ÿ”’
use crate::coroutine::Coroutine; ๐Ÿ”’
use crate::coroutine::cancel::ThrowCallback; ๐Ÿ”’
use crate::instance::Bound; ๐Ÿ”’
use crate::types::PyString; ๐Ÿ”’

Structsยง

AssumeAttachedInCoroutine
Handle which assumes that the coroutine is attached to the thread. Unlike Python<'_>, this is Send.

Functionsยง

new_coroutine
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here