module Mongoid::Clients::Sessions

Encapsulates behavior for getting a session from the client of a model class or instance, setting the session on the current thread, and yielding to a block. The session will be closed after the block completes or raises an error.

@since 6.4.0