AutoRollbackLike
AutoRollback support for specs2
trait LoanPattern
trait After
trait Context
trait Scope
trait Scope
class Object
trait Matchable
class Any
trait AutoRollback
trait AutoRollback
Type members
Inherited types
Value members
Concrete methods
Inherited methods
def futureUsing[R <: Closable, A](resource: R)(f: R => Future[A])(implicit ec: ExecutionContext): Future[A]
Guarantees a Closeable resource will be closed after being passed to a block that takes the resource as a parameter and returns a Future.
Guarantees a Closeable resource will be closed after being passed to a block that takes the resource as a parameter and returns a Future.
- Inherited from
- LoanPattern