add nextflow d30e48d
This commit is contained in:
4
nextflow/docs/snippets/subscribe-with-on-complete.nf
Normal file
4
nextflow/docs/snippets/subscribe-with-on-complete.nf
Normal file
@@ -0,0 +1,4 @@
|
||||
channel.of( 1, 2, 3 ).subscribe(
|
||||
onNext: { v -> println v },
|
||||
onComplete: { println 'Done' }
|
||||
)
|
||||
Reference in New Issue
Block a user