Update rollup example

parent 61a50a40
// To run this example, you'll need to use
// dukroll (https://gitlab.com/dukboot/dukroll)
import pull from 'pull-stream'
import dukboot, { thread, stdio } from 'dukboot'
if (imports.thread.id() === 0) {
if (thread.id() === 0) {
stdio.print(dukboot.main.argv()) // show off 'default' exports
var c = pull.count()
c(null, imports.stdio.print)
c(null, imports.stdio.print)
c(null, imports.stdio.print)
c(null, imports.stdio.print)
c(null, stdio.print)
c(null, stdio.print)
c(null, stdio.print)
c(null, stdio.print)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment