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 {
21
21
///
22
22
/// This includes the [SyncStreamDescription] along with information about the
23
23
/// current sync status.
24
- abstract interface class SyncSubscriptionDefinition
24
+ abstract interface class SyncSubscriptionDescription
25
25
extends SyncStreamDescription {
26
26
/// Whether this stream is active, meaning that the subscription has been
27
27
/// acknownledged by the sync serivce.
@@ -87,7 +87,8 @@ abstract interface class SyncStreamSubscription
87
87
88
88
/// An `ActiveStreamSubscription` as part of the sync status in Rust.
89
89
@internal
90
- final class CoreActiveStreamSubscription implements SyncSubscriptionDefinition {
90
+ final class CoreActiveStreamSubscription
91
+ implements SyncSubscriptionDescription {
91
92
@override
92
93
final String name;
93
94
@override
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ final class SyncStreamStatus {
219
219
final ProgressWithOperations ? progress;
220
220
final CoreActiveStreamSubscription _internal;
221
221
222
- SyncSubscriptionDefinition get subscription => _internal;
222
+ SyncSubscriptionDescription get subscription => _internal;
223
223
StreamPriority get priority => _internal.priority;
224
224
bool get isDefault => _internal.isDefault;
225
225
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ TypeMatcher<SyncStreamStatus> isStreamStatus({
72
72
return matcher;
73
73
}
74
74
75
- TypeMatcher <SyncSubscriptionDefinition > isSyncSubscription ({
75
+ TypeMatcher <SyncSubscriptionDescription > isSyncSubscription ({
76
76
required Object name,
77
77
required Object ? parameters,
78
78
}) {
79
- return isA <SyncSubscriptionDefinition >()
79
+ return isA <SyncSubscriptionDescription >()
80
80
.having ((e) => e.name, 'name' , name)
81
81
.having ((e) => e.parameters, 'parameters' , parameters);
82
82
}
You can’t perform that action at this time.
0 commit comments