File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ abstract interface class SyncStreamDescription {
2121///
2222/// This includes the [SyncStreamDescription] along with information about the
2323/// current sync status.
24- abstract interface class SyncSubscriptionDefinition
24+ abstract interface class SyncSubscriptionDescription
2525 extends SyncStreamDescription {
2626 /// Whether this stream is active, meaning that the subscription has been
2727 /// acknownledged by the sync serivce.
@@ -87,7 +87,8 @@ abstract interface class SyncStreamSubscription
8787
8888/// An `ActiveStreamSubscription` as part of the sync status in Rust.
8989@internal
90- final class CoreActiveStreamSubscription implements SyncSubscriptionDefinition {
90+ final class CoreActiveStreamSubscription
91+ implements SyncSubscriptionDescription {
9192 @override
9293 final String name;
9394 @override
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ final class SyncStreamStatus {
219219 final ProgressWithOperations ? progress;
220220 final CoreActiveStreamSubscription _internal;
221221
222- SyncSubscriptionDefinition get subscription => _internal;
222+ SyncSubscriptionDescription get subscription => _internal;
223223 StreamPriority get priority => _internal.priority;
224224 bool get isDefault => _internal.isDefault;
225225
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ TypeMatcher<SyncStreamStatus> isStreamStatus({
7272 return matcher;
7373}
7474
75- TypeMatcher <SyncSubscriptionDefinition > isSyncSubscription ({
75+ TypeMatcher <SyncSubscriptionDescription > isSyncSubscription ({
7676 required Object name,
7777 required Object ? parameters,
7878}) {
79- return isA <SyncSubscriptionDefinition >()
79+ return isA <SyncSubscriptionDescription >()
8080 .having ((e) => e.name, 'name' , name)
8181 .having ((e) => e.parameters, 'parameters' , parameters);
8282}
You can’t perform that action at this time.
0 commit comments