Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DefaultAsyncIOScopeFactory (4.02 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt

    
    internal
    object BuildServices : ServiceRegistrationProvider {
    
        @Provides
        fun createAsyncIOScopeFactory(executorFactory: ExecutorFactory): AsyncIOScopeFactory =
            DefaultAsyncIOScopeFactory { executorFactory.create("Kotlin DSL Writer", 1) }
    }
    
    
    internal
    interface AsyncIOScopeSettings {
        val ioActionTimeoutMs: Long
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/concurrent/DefaultAsyncIOScopeFactoryTest.kt

        private
        fun withAsyncIOScopeFactory(
            settings: AsyncIOScopeSettings = JavaSystemPropertiesAsyncIOScopeSettings(),
            action: DefaultAsyncIOScopeFactory.() -> Unit
        ) {
            DefaultAsyncIOScopeFactory(settings) { Executors.newSingleThreadExecutor() }.useToRun(action)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top