mirror of
https://github.com/neondatabase/neon.git
synced 2026-08-21 13:38:33 +00:00
c18b291244
Instead of with_session that calls a Future with the session, have a more conventional constructor function, `new_session`, which returns a Session. The session is automatically removed from the cancellation map in Drop. This makes it nicer to use.