import { updateSession } from "https://deno.land/x/sentry_deno@v0.2.2/packages/hub/src/session.ts";
Updates a session object with the properties passed in the context.
Note that this function mutates the passed object and returns void. (Had to do this instead of returning a new and updated session because closing and sending a session makes an update to the session after it was passed to the sending logic.
Parameters
optional
context: SessionContext = [UNSUPPORTED]the SessionContext
holding the properties that should be updated in @param session