import { closeSession } from "https://deno.land/x/sentry_deno@v0.2.2/packages/hub/src/index.ts";
Closes a session by setting its status and updating the session object with it.
Internally calls updateSession
to update the passed session object.
Note that this function mutates the passed session (@see updateSession for explanation).