Are continuations in Kotlin usable yet? Any examples available?

user118967

There is an package in Kotlin for continuations, but it's marked as experimental. There is no documentation other than the API, and no tutorial or examples anywhere that I could find. Does anyone know if it's already usable? What would be an example of its usage?

Ilya

The Continuation interface is a part of coroutines support API in the standard library. You can start exploring the coroutines from the documentation page, or from the kotlinx.coroutines library repository, which contains an extensive coroutine programming guide.

Coroutines are experimental in Kotlin 1.1 and 1.2, but there was an announcement that they are going to stabilize in 1.3.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Dataflow SparkPipelineRunner - any available examples?

Dataproc + BigQuery examples - any available?

Is Kotlin/Native usable by itself?

ANTLR4 handling continuations for "any data"

Are where any examples available on how to use postcss-modules instead of css-modules?

Are there any code examples available for AWS Freertos for implementing a DHCP Server and HTTPS server?

Cluster description not yet available, why?

Max memory available in Windows 8 (truly usable)

Creating a high available and heavy usable Database

print out the total usable memory available

Java annotation not usable from Kotlin project jar

Is Eta interoprable with Java and/or Kotlin yet?

Kotlin, representing an undefined yet value

Are there any usable Linux/Ubuntu recovery methods for WSL?

Does javascript have any alternatives usable in tor?

sshd failed due to network not yet available

Is signalr 3.0 beta available yet for 2015?

HTTP status code for resource that is not available yet

Is Backward chaining supported? Are there any examples?

Using any/all with proof or examples

Windows 10: 64 GB RAM available but only 32 GB Usable

Readily available examples of documentation built with Dokka?

Kotlin reflection is not available

Kotlin: What features of Java 8 are not yet supported?

Is there any extensions i haven't installed yet?

Are there any production quality JSF 2 implementations yet?

Undo git reset without any commits yet

Room Kotlin:Entities and Pojos must have a usable public constructor

Could not find any usable binding services in WSDL with PHP Soap