Hey, I'm just getting started and pretty confused. The RPC server is all async and stuff, so no blocking IO in there. Then there are some vague mentions that you should use KJ for most things. But KJ documentation is nowhere to be found...
All I want to do is just open a file and write to it. After resorting to reading the source code, I found https://github.com/capnproto/capnproto/blob/master/c%2B%2B/src/kj/filesystem.h So I managed to create a path so far. Then I started to look for how to open a file. I found some methods on Directory. So then I started to look how to make a directory. Then I found a Filesystem, which is abstract. Then I found newDiskFilesystem which tells me DO NOT CALL THIS except in main() Well **** how am I supposed to open a file inside my server handler then?? Pepijn -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/cd5ce66c-b12e-4612-b383-32462f047f69n%40googlegroups.com.
