Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runToCompletion (0.11 sec)

  1. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Running.kt

        contract {
            callsInPlace(readOperation, InvocationKind.EXACTLY_ONCE)
        }
        return runToCompletion {
            readOperation()
        }
    }
    
    
    /**
     * Runs the given [writeOperation] synchronously.
     */
    fun <T : WriteContext, U> T.runWriteOperation(writeOperation: suspend T.() -> U): U =
        runToCompletion {
            writeOperation()
        }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 20:48:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top