Skip to content

Manipulate channel within tap without affecting source channel #4875

Closed Answered by gnxsf
gnxsf asked this question in Q&A
Discussion options

You must be logged in to vote
Channel.of(['A', 'B', 'C'])
.multiMap {
    num1: tuple(it[0], it[1])
    num2: tuple(it[0], it[2])
}
.set { chan }

chan.num1.view()
chan.num2.view()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gnxsf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant