Skip to content

Commit 0aa973a

Browse files
committed
Remove immediate parameter when unsubscribing
1 parent 57394c0 commit 0aa973a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

crates/core/src/sync/subscriptions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ pub struct UnsubscribeFromStream {
7575
pub stream: String,
7676
#[serde(default)]
7777
pub params: Option<Box<serde_json::value::RawValue>>,
78-
pub immediate: bool,
7978
}
8079

8180
pub fn apply_subscriptions(

dart/test/sync_stream_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ void main() {
245245
'unsubscribe': {
246246
'stream': 'my_stream',
247247
'params': null,
248-
'immediate': false,
249248
}
250249
}),
251250
);
@@ -367,7 +366,7 @@ void main() {
367366
control(
368367
'subscriptions',
369368
json.encode({
370-
'unsubscribe': {'stream': 'a', 'immediate': false}
369+
'unsubscribe': {'stream': 'a'}
371370
}),
372371
);
373372
control('stop', null);

0 commit comments

Comments
 (0)