Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions asyncer/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ async def do_work(arg1, arg2, kwarg1="", kwarg2="") -> str:
return value of the original `async_function` *after* the `async with` block.

If you try to access the `soon_value.value` inside the `async with` block,
before it has the actual return value, it will raise a an exception
before it has the actual return value, it will raise an exception
`asyncer.PendingValueException`.

If you think you need to access the return values inside the `async with` block,
Expand Down Expand Up @@ -220,7 +220,7 @@ async def program(name: str) -> str:
`async_function`: an async function to call
`backend`: name of the asynchronous event loop implementation - currently either
`asyncio` or `trio`
`backend_options` keyword arguments to call the backend `run()` implementation with
`backend_options`: keyword arguments to call the backend `run()` implementation with

## Return

Expand Down
Loading