File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ from typing import (
77 ContextManager ,
88 Coroutine ,
99 Generic ,
10+ Iterator ,
1011 Mapping ,
1112 NoReturn ,
1213 Optional ,
@@ -19,6 +20,7 @@ from typing import (
1920 final ,
2021 cast ,
2122)
23+ from types import FrameType
2224from abc import ABCMeta
2325from _typeshed import StrOrBytesPath
2426from trio_typing import Nursery , takes_callable_and_args
@@ -82,6 +84,7 @@ class Task(metaclass=ABCMeta):
8284 def eventual_parent_nursery (self ) -> Optional [Nursery ]: ...
8385 @property
8486 def child_nurseries (self ) -> Sequence [Nursery ]: ...
87+ def iter_await_frames (self ) -> Iterator [Tuple [FrameType , int ]]: ...
8588
8689async def checkpoint () -> None : ...
8790async def checkpoint_if_cancelled () -> None : ...
@@ -185,7 +188,9 @@ class RunVar(Generic[_T], metaclass=ABCMeta):
185188
186189# _core._thread_cache
187190def start_thread_soon (
188- fn : Callable [[], _T ], deliver : Callable [[outcome .Outcome [_T ]], None ]
191+ fn : Callable [[], _T ],
192+ deliver : Callable [[outcome .Outcome [_T ]], None ],
193+ name : Optional [str ] = ...,
189194) -> None : ...
190195
191196# _subprocess
You can’t perform that action at this time.
0 commit comments