we need something like const_eval_select
for async-ness and probably for most other kinds of keyword generic
#11
Labels
duplicate
This issue or pull request already exists
Motivation
Inspired by this Zulip thread
Some code needs to do completely different things for async vs. non-async versions (e.g. handling timeouts, calling OS functions, etc.), so we need some way of making those functions easy to use from callers that are generic over async-ness.
Similar reasoning applies for most other keyword-generics.
Details
I think we need something like
const_eval_select
for async-ness and probably for most other keyword-generic kinds.maybe the API for async-ness could be like:
The text was updated successfully, but these errors were encountered: