api.fabaccess-api/notify.capnp
Nadja Reitzenstein 21574d8185 update
2022-10-31 15:20:12 +01:00

17 lines
365 B
Cap'n Proto

@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 { }