Typos + minor module refactoring
This commit is contained in:
parent
844e65fa3a
commit
3021544e7f
|
@ -46,7 +46,7 @@ def syscall(method: str, *args, **kwargs) -> Any | None:
|
|||
async def spawn(func: Callable[..., Coroutine[Any, Any, Any]], *args, **kwargs) -> Task:
|
||||
"""
|
||||
Spawns a task from a coroutine and returns it. The coroutine
|
||||
is put on the running cute and is executed as soon as possible.
|
||||
is put on the running queue and is executed as soon as possible.
|
||||
Any positional and keyword arguments are passed along to the coroutine
|
||||
|
||||
:param func: The coroutine function to instantiate. Note that this should NOT
|
||||
|
|
|
@ -20,7 +20,7 @@ from collections import deque
|
|||
from functools import partial
|
||||
from aiosched.task import Task, TaskState
|
||||
from timeit import default_timer
|
||||
from aiosched.internals.queues import TimeQueue
|
||||
from aiosched.internals.queue import TimeQueue
|
||||
from aiosched.util.debugging import BaseDebugger
|
||||
from typing import Callable, Any, Coroutine
|
||||
from aiosched.errors import InternalError, ResourceBusy, Cancelled, ResourceClosed, ResourceBroken
|
||||
|
|
Reference in New Issue