Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
scherlock
81 days ago
|
parent
|
context
|
favorite
| on:
Cloudlflare builds OAuth with Claude and publishes...
Is it really good form in TypeScript to make all functions async, even when functions don't use await? like this,
https://github.com/cloudflare/workers-oauth-provider/blob/fe...
kentonv
81 days ago
|
next
[–]
env.OAUTH_KV.get(...) is reading from Workers KV storage. It returns a promise.
ccorcos
81 days ago
|
prev
[–]
No. It’s possible env[?].get returns a promise though
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: