Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

edit: reading the litestar docs, it even has a built-in event system! I spent a couple weeks building something I could use with FastAPI...


Looking at the docs and trying to figure out what this is for. Is it essentially when you want to break out of the "request lifecycle" and queue something to run after your response has already been returned?

It strikes me that I haven't used web frameworks a lot and never even questioned how that may not be an easy thing to do!


They seem to fill the same purpose as django's signals.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: