Apologies for not bringing this up during the review, but like unsafe API is prefixed with unsafe/Unsafe, should blocking IO API be prefixed with blocking? i.e. name the method blockingResolve? I mentioned a potential future way to flag this by annotating APIs with @blocking , call sites with blocking and --strict-non-blocking flag, so that callers that care a lot about this have a way to statically enforce that code does not block on IO.
4 Likes