However, you more often share (send between corout...
# stdlib
e
However, you more often share (send between coroutines) some user-defined data classes than collections. A that is the problem. There is no support for persistent data classes. You can emulate them using defensive copying with a handy
copy
function that is provided for
data class
, but that becomes tenious on complex data class hierarchies. However, that is a totally seperate #language-proposals discussion not related to stdlib.