Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for encodeProvider (0.12 sec)

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

     * value is known at configuration time with a fixed value.
     */
    class FixedValueReplacingProviderCodec(
    
        private
        val providerWithChangingValueCodec: Codec<Any?>
    
    ) {
        suspend fun WriteContext.encodeProvider(value: ProviderInternal<*>) {
            val state = value.calculateExecutionTimeValue()
            encodeValue(state)
        }
    
        suspend fun WriteContext.encodeValue(value: ValueSupplier.ExecutionTimeValue<*>) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top