Some DBIOs need an execution context to be constructed, for example when flatMapping several DBIO actions. It is very simple to add an extra overload taking a function with an ExecutionContext as input argument.
It spares the developer from adding implicit val ec: ExecutionContext = Runtome.default.platform.executor.asEC in blocks.
Some DBIOs need an execution context to be constructed, for example when flatMapping several DBIO actions. It is very simple to add an extra overload taking a function with an ExecutionContext as input argument.
It spares the developer from adding
implicit val ec: ExecutionContext = Runtome.default.platform.executor.asEC
in blocks.