mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 04:59:02 -04:00
This function is called when an HTTP request is being free'd, allowing you to perform any sort of state cleanup attached to the HTTP request.
Kore pgsql example.
This example demonstrates how one can use Kore state machines and the pgsql api to make fully asynchronous SQL queries.
Asynchronous in this case meaning, without interrupting a Kore worker its other clients their I/O or http requests.
Tons of comments inside on how everything works.
Run:
# kodev run