Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SkiFire13
on Sept 2, 2023
|
parent
|
context
|
favorite
| on:
Philosophy of Coroutines
I don't think `Context` is appropriate for generic generators, since it has no way to get data in or out of the `async` block. The more general `generator` feature allows a custom context type though.
vacuity
on Sept 2, 2023
[–]
I must've looked at an outdated design or something. Thanks for the info.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: