Created
February 2, 2020 10:33
-
-
Save Tetraquark/a62e96fe13719f65950e7a02df699272 to your computer and use it in GitHub Desktop.
What is channel? ProduceBuilder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ExperimentalCoroutinesApi | |
| public fun <E> CoroutineScope.produce( | |
| context: CoroutineContext = EmptyCoroutineContext, | |
| capacity: Int = 0, | |
| @BuilderInference block: suspend ProducerScope<E>.() -> Unit | |
| ): ReceiveChannel<E> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment