• Kenton Varda's avatar
    Implement server side of streaming. · c3cfe9e5
    Kenton Varda authored
    There are two things that every capability server must implement:
    
    * When a streaming method is delivered, it blocks subsequent calls on the same capability. Although not strictly needed to achieve flow control, this simplifies the implementation of streaming servers -- many would otherwise need to implement such serialization manually.
    * When a streaming method throws, all subsequent calls also throw the same exception. This is important because exceptions thrown by a streaming call might not actually be delivered to a client, since the client doesn't necessarily wait for the results before making the next call. Again, a streaming server could implement this manually, but almost all streaming servers will likely need it, and this makes things easier.
    c3cfe9e5
Name
Last commit
Last update
..
capnp-test.ekam-rule Loading commit data...
capnp-test.sh Loading commit data...
capnp.c++ Loading commit data...
capnp.ekam-manifest Loading commit data...
capnpc-c++.c++ Loading commit data...
capnpc-capnp.c++ Loading commit data...
compiler.c++ Loading commit data...
compiler.h Loading commit data...
error-reporter.c++ Loading commit data...
error-reporter.h Loading commit data...
evolution-test.c++ Loading commit data...
grammar.capnp Loading commit data...
grammar.capnp.c++ Loading commit data...
grammar.capnp.h Loading commit data...
lexer-test.c++ Loading commit data...
lexer.c++ Loading commit data...
lexer.capnp Loading commit data...
lexer.capnp.c++ Loading commit data...
lexer.capnp.h Loading commit data...
lexer.h Loading commit data...
module-loader.c++ Loading commit data...
module-loader.h Loading commit data...
node-translator.c++ Loading commit data...
node-translator.h Loading commit data...
parser.c++ Loading commit data...
parser.h Loading commit data...
type-id-test.c++ Loading commit data...
type-id.c++ Loading commit data...
type-id.h Loading commit data...