mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 23:01:47 +01:00
17 lines
365 B
Cap'n Proto
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 { }
|