mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 16:35:04 +01:00

- async_reconnecting_ssl_client.py will automatically close and reconnect to a server when it becomes available (rather than hanging or dying when the server disappears)
12 lines
281 B
Cap'n Proto
12 lines
281 B
Cap'n Proto
@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);
|
|
}
|