pycapnp/examples/thread.capnp

13 lines
281 B
Cap'n Proto
Raw Normal View History

2014-08-26 15:21:46 -07:00
@0xf5745ea9c82baa3a;
interface Example {
interface StatusSubscriber {
status @0 (value: Bool);
# Call the function on the given parameters.
}
longRunning @0 () -> (value: Bool);
subscribeStatus @1 (subscriber: StatusSubscriber);
alive @2 () -> (value: Bool);
2014-08-26 15:21:46 -07:00
}