Mongo.Session.in_write_session

You're seeing just the function in_write_session, go back to Mongo.Session module for more information.
Link to this function

in_write_session(topology_pid, fun, opts)

View Source

This function allows nested in_session calls and provides a session if no session exists so far. A provided session lives in the Process dictionary :session or is specified in the opts dictionary.