Naftoli Gugenheim
Naftoli Gugenheim
@Mergifyio rebase
Would be nice if more plugins were available on EAP ;)
@szeiger can you please share the reason for this change?
@Mergifyio rebase
@Mergifyio rebase
@Mergifyio rebase
@Mergifyio rebase
Not sure. Another options is `.successfulLazy` or something in that direction. `delay` and `attempt` are good. Not sure about `apply`. In the case of Future, just opening up a block...
> Can `flatMap` be used to implement `defer` safely? > > ```scala > def defer[A](a: => DBIO[A]): DBIO[A] = DBIO.successful(()).flatMap(_ => a)(sameThreadExecutionContext) > ``` I think so, I've done that...
@Mergifyio rebase