api.fabaccess-api/notify.capnp

17 lines
365 B
Cap'n Proto
Raw Normal View History

2022-10-31 15:19:56 +01:00
@0xc0787ef6e3cb87e1;
using CSharp = import "programming_language/csharp.capnp";
$CSharp.namespace("FabAccessAPI.Schema");
using State = import "state.capnp".State;
interface Notifyable {
subscribe @0 ( subscriber :Subscriber ) -> ( subscription :Subscription );
}
interface Subscriber {
newState @0 ( state :State ) -> ();
}
interface Subscription { }