WeakPipe behaves like Pipe (connecting the two channels) except that it does not close the output channel when the input channel is closed.
(input SimpleOutChannel, output SimpleInChannel)
| 198 | // WeakPipe behaves like Pipe (connecting the two channels) except that it does not close |
| 199 | // the output channel when the input channel is closed. |
| 200 | func WeakPipe(input SimpleOutChannel, output SimpleInChannel) { |
| 201 | go pipe(input, output, false) |
| 202 | } |
| 203 | |
| 204 | // WeakMultiplex behaves like Multiplex (multiplexing multiple inputs into a single output) except that it does not close |
| 205 | // the output channel when the input channels are closed. |
searching dependent graphs…