Comment

Comment by eightnoteight

credit balance api is pretty cool

always liked the v0 feature where they notify to top up when the balance runs low

when do apps invoke the credit balance api? before sending events or they poll asynchronously and keep a local cache about the credit balance?

i guess caching would be a bad pattern too as the app may not function immediately after the top up of credits

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton