Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for coroutine (0.06 seconds)

  1. okhttp-coroutines/README.md

    OkHttp Coroutines
    =================
    
    Support for Kotlin clients using coroutines.
    
    ```kotlin
    val call = client.newCall(request)
    
    call.executeAsync().use { response ->
      withContext(Dispatchers.IO) {
        println(response.body?.string())
      }
    }
    ```
    
    This is implemented using `suspendCancellableCoroutine`
    but uses the standard Dispatcher in OkHttp. This means
    that by default Kotlin's Dispatchers are not used.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Nov 09 15:47:27 GMT 2023
    - 609 bytes
    - Click Count (0)
  2. docs/uk/llm-prompt.md

    - bearer token: токен носія
    - breaking change: несумісна зміна
    - bug: помилка
    - button: кнопка
    - callable: викликаємий
    - code: код
    - commit: фіксація
    - context manager: менеджер контексту
    - coroutine: співпрограма
    - engine: рушій
    - fake X: фальшивий X
    - item: предмет
    - lock: блокування
    - middleware: проміжне програмне забезпечення
    - mounting: монтування
    - origin: джерело
    - override: переписування
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:47:51 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. cmd/leak-detect_test.go

    		for _, g := range leaked {
    			t.Errorf("Leaked goroutine: %v", g)
    		}
    		return
    	}
    }
    
    // DetectTestLeak -  snapshots the currently running goroutines and returns a
    // function to be run at the end of tests to see whether any
    // goroutines leaked.
    // Usage: `defer DetectTestLeak(t)()` in beginning line of benchmarks or unit tests.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. okhttp-coroutines/api/okhttp-coroutines.api

    public final class okhttp3/coroutines/ExecuteAsyncKt {
    	public static final fun executeAsync (Lokhttp3/Call;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 163 bytes
    - Click Count (0)
  5. docs/debugging/pprofgoparser/main.go

    )
    
    func init() {
    	flag.DurationVar(&less, "less", 0, "goroutine waiting less than the specified time")
    	flag.DurationVar(&goTime, "time", 0, "goroutine waiting for exactly the specified time")
    	flag.DurationVar(&margin, "margin", 0, "margin time")
    	flag.StringVar(&searchText, "search", "", "Regex to search for a text in one goroutine stacktrace")
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. src/archive/zip/register.go

    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    type Compressor func(w io.Writer) (io.WriteCloser, error)
    
    // A Decompressor returns a new decompressing reader, reading from r.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  7. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import kotlinx.coroutines.coroutineScope
    import kotlinx.coroutines.job
    import kotlinx.coroutines.supervisorScope
    import kotlinx.coroutines.test.runTest
    import kotlinx.coroutines.withContext
    import kotlinx.coroutines.withTimeout
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect
    import mockwebserver3.junit5.StartStop
    import okhttp3.Callback
    import okhttp3.FailingCall
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. okhttp-coroutines/build.gradle.kts

      id("okhttp.testing-conventions")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.coroutines",
      "Bundle-SymbolicName: com.squareup.okhttp3.coroutines",
    )
    
    project.applyJavaModules("okhttp3.coroutines")
    
    dependencies {
      api(projects.okhttp)
      implementation(libs.kotlinx.coroutines.core)
      api(libs.square.okio)
      api(libs.kotlin.stdlib)
    
      testImplementation(libs.kotlin.test.annotations)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 792 bytes
    - Click Count (0)
  9. okhttp-coroutines/src/main/java9/module-info.java

    @SuppressWarnings("module")
    module okhttp3.coroutines {
      requires okhttp3;
      exports okhttp3.coroutines;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 108 bytes
    - Click Count (0)
  10. okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    
    package okhttp3.coroutines
    
    import kotlin.coroutines.resumeWithException
    import kotlinx.coroutines.suspendCancellableCoroutine
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    import okio.IOException
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jun 19 04:20:30 GMT 2025
    - 1.4K bytes
    - Click Count (1)
Back to Top