`
exec(session => {
queue.addAll(session(“eventIds”).as[Collection[Long]])
session
})
`
Trying to setup the above based on examples I have read but getting a type mismatch. Not sure how to correct it. Anyone able to offer guidance?
`
[ERROR] CombinedReadWrite.scala:56: error: type mismatch;
[ERROR] found : io.gatling.core.session.Session
[ERROR] required: io.gatling.core.validation.Validation[io.gatling.core.session.Session]
[ERROR] session
[ERROR] ^
[ERROR] one error found
`
Thanks