plombardi
08/31/2016, 4:35 PMfut1.compose<Void>({ v->
val fut2 = Future.future<Void>()
println("Step 1")
fs.writeFile(file, Buffer.buffer("Hello World!"), fut2.completer())
fut2
})
IntelliJ throws up the error
Type Mismatch:
Required: Function<Void!, Future<Void!>!>!
Found: ??? -> Future<Void!>!