Mongodb 4 added multi document transaction support.
Mongo-scala-driver (http://mongodb.github.io/mongo-scala-driver/2.4/) supports mongodb 4, but I cannot find any example how to use transaction with scala.
Can anybody provide the link or code snippet?
P.S: There is synchronous transaction example in the official mongodb site, but I need example of async, non-blocking transaction in scala.