Make local graph execution optional across composed packages
This commit is contained in:
+5
-5
@@ -7,12 +7,12 @@ type StartPosition = variant id "org.quixos.events:start@1" {
|
||||
};
|
||||
interface EventSubscription<value Payload,value Parameters> id "interface:org.quixos.events:subscription" revision "interface:org.quixos.events:subscription@1" {
|
||||
operation attach id "events:attach" : record {source:interface-ref<EventStream<Payload>>;handler:interface-ref<EventHandler<Payload,Parameters>>;parameters:Parameters;start:StartPosition;} -> unit {
|
||||
call id "events:attach:call" execution transaction targets [server];
|
||||
call id "events:attach:call" execution transaction;
|
||||
}
|
||||
queryable value status id "events:status" : record {status:string;generation:uint64;cursor:uint64;failure:optional<record {publication:string;code:string;message:string;}>;} {
|
||||
get id "events:status:get" execution snapshot targets [server];
|
||||
get id "events:status:get" execution snapshot;
|
||||
}
|
||||
operation pause id "events:pause" : unit -> unit {call id "events:pause:call" execution transaction targets [server];}
|
||||
operation resume id "events:resume" : unit -> unit {call id "events:resume:call" execution transaction targets [server];}
|
||||
operation retire id "events:retire" : unit -> unit {call id "events:retire:call" execution transaction targets [server];}
|
||||
operation pause id "events:pause" : unit -> unit {call id "events:pause:call" execution transaction;}
|
||||
operation resume id "events:resume" : unit -> unit {call id "events:resume:call" execution transaction;}
|
||||
operation retire id "events:retire" : unit -> unit {call id "events:retire:call" execution transaction;}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user