Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun myFuncion(){
- //save current Thread CoroutineScope
- var currentCoroutineScope : CoroutineScope // <How to create?>
- GlobalScope.launch {
- //Do something
- current.launch {
- //Do something
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement