Skip to content

Support for transactions and coroutines #12

@jeggy

Description

@jeggy

Would be nice to be able to write something like this:

suspend fun myCoroutineScope() = session.transaction {
  coroutineScope {
    listOf(
      async { repository.insert(1) },
      async { repository.insert(5) },
    ).awaitAll()
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions