Ancestors

Toot

Written by keeri :Blobhaj_Love:​ on 2024-08-04 at 12:58

are there many programming languages where variables can be tied to time? e.g. forget value after N minutes, extend duration if needed

it's been such a common ask in my game development adventures, that it feels strange for it to be on me to implement (even if reusable)

=> More informations about this toot | More toots from keeri@pawb.fun

Descendants

Written by stfn :raspberrypi: :python: on 2024-08-04 at 13:20

@keeri You can do that using Redis https://redis.io/docs/latest/commands/expire/

=> More informations about this toot | More toots from stfn@fosstodon.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/112903869823517138
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
255.895742 milliseconds
Gemini-to-HTML Time
0.466307 milliseconds

This content has been proxied by September (ba2dc).