Sessions handling


I have the following object that is being executed within a scenario:

object service {
val invocation = group(“SOAP_invocation”) {
.pause(config.p seconds)
.exec(session => {
persist(session(“novedad”).as[String]) //persist is a user defined method

The question is, when I execute

exec(session => { persist(session("novedad").as[String]) session })

is this creating a new session or it is executing that piece of code within the same session?
Also, if it does create a new session, does it mean that is creating a new Thread o Virtual Thread?

Thanks in advance.