mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-14 15:53:00 +00:00
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.