Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newCancellationTokenSource (0.4 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

            when:
            def connector = toolingApi.connector()
            ProjectConnection connection = connector.connect()
    
            def cancellation = GradleConnector.newCancellationTokenSource()
            def build = connection.newBuild()
    
            build.forTasks('hang').withCancellationToken(cancellation.token()).run(resultHandler)
            sync.waitForAllPendingCalls(resultHandler)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top