One more...

It'd make integration with Kotlin coroutines (OK, that's not just Kotlin 
the language...) easier/possible to have something like `transactionResult` 
that instead of taking a `TransactionCallable` and doing all the 
ManagedBlocker bits, took something whose `run()` (or equivalent) was a 
`suspend` function. In Kotlinese, that could be simply a function type: 
`suspend (Configuration) -> T`.

My current use case is that I'd like to be able to kick off some 
fire-and-forget async work inside a transaction, and for various reasons 
I'd prefer to have that be done via coroutines rather than 
`CompletableFuture` and friends (e.g. coroutine context carries over to 
child coroutines, unlike threadlocals, and other such things).

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/0a5a7ec5-3a9a-49cc-8da9-36cd7246849b%40googlegroups.com.

Reply via email to