Skip to content

Instantly share code, notes, and snippets.

@jvfe
Created February 1, 2023 17:47
Show Gist options
  • Save jvfe/05236217e848073e1967e629bfe2aba7 to your computer and use it in GitHub Desktop.
Save jvfe/05236217e848073e1967e629bfe2aba7 to your computer and use it in GitHub Desktop.
Difference between using mix and set with value channels
ch = Channel.empty()
ch2 = Channel.empty()
ch = ch.mix(Channel.value('database'))
Channel.value('database').set{ ch2 }
println(ch)
println(ch2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment