Not sure if this is intentional, but...
If you use
suspendedTransactionAsync
and a normal blocking
transaction
in the same coroutine, Exposed (well, in this case, HikariCP) throws a
Connection is closed
exception. Is this intentional? If I change the
suspendedTransactionAsync
to a normal
transaction
again, the issue goes away. If I change every
transaction
to a
suspendedTransactionAsync
, the issue also goes away. I found that bug when I found out that Exposed does support coroutines so I decided to start replacing some of my old blocking transactions with coroutine-aware methods