fabaccess-bffh/runtime/console-api/schema/streaming.capnp

13 lines
199 B
Cap'n Proto
Raw Permalink Normal View History

2023-05-05 14:14:33 +02:00
@0x85894bd060182ed3;
interface Receiver(T) {
send @0 (chunk :T) -> import "stream.capnp".StreamResult;
done @1 ();
}
interface Sender {
pause @0 ();
resume @1 ();
stop @2 ();
}