Uploaded image for project: 'Realm Kotlin'
  1. Realm Kotlin
  2. RKOTLIN-441

[Change proposal] Is it possible to add/edit write() function to accept suspendable block?

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Local

      Currently suspendable write looks like that:
      suspend fun <R> write(block: MutableRealm.() -> R): R
      Could it be possible to add another write() that would accept suspedable block?
      eg:
      suspend fun <R> write(block:suspend MutableRealm.() -> R): R

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: