<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # 用于異步編程等場景的協程 異步或非阻塞程序設計是新的現實。無論我們創建服務端應用、桌面應用還是移動端應用,都很重要的一點是, 我們提供的體驗不僅是從用戶角度看著流暢,而且還能在需要時伸縮(scalable,可擴充/縮減規模)。 這個問題有很多方法,在 Kotlin 中我們采用非常靈活的方法,在語言級提供[協程](https://en.wikipedia.org/wiki/Coroutine)支持,而將大部分功能委托給庫,這與 Kotlin 的理念非常一致。 額外收益是,協程不僅打開了異步編程的大門,還提供了大量其他的可能性,例如并發、參與者(actor)等。 ## 如何開始 ![](http://www.kotlincn.net/assets/images/landing/native/book.png)Tutorials and Documentation Kotlin 新手?可以看看[入門](basic-syntax.html)頁。 精選文檔頁: - [協程指南](http://www.hmoore.net/alex_wsc/android_kotlin/1318375) - [基礎](http://www.hmoore.net/alex_wsc/android_kotlin/1318376) - [通道](http://www.hmoore.net/alex_wsc/android_kotlin/1318381) - [協程上下文與調度器](http://www.hmoore.net/alex_wsc/android_kotlin/1318379) - [共享的可變狀態與并發](http://www.hmoore.net/alex_wsc/android_kotlin/1318383) 推薦的教程: - [你的第一個 Kotlin 協程程序](../tutorials/coroutines/coroutines-basic-jvm.html) - [異步程序設計](../tutorials/coroutines/async-programming.html) - [協程與通道簡介](https://play.kotlinlang.org/hands-on/Introduction%20to%20Coroutines%20and%20Channels/01_Introduction)動手實驗室 示例項目 - [kotlinx.coroutines 示例與源代碼](https://github.com/Kotlin/kotlin-coroutines/tree/master/examples) - [KotlinConf app](https://github.com/JetBrains/kotlinconf-app) 在 [GitHub](https://github.com/JetBrains/kotlin-examples) 上還有更多示例
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看