Skip to content

Commit

Permalink
comment & formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Equartey committed Aug 8, 2024
1 parent 1dc7e6f commit 80b1ef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/amplify_datastore/lib/amplify_datastore.dart
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ class NativeAmplifyApi
}
}


// Amplify.DataStore.Stop() callback
// Clean up subscriptions on stop.
/// Amplify.DataStore.Stop() callback
///
/// Clean up subscriptions on stop.
@override
Future<void> onStop() async {
_subscriptionsCache.forEach((subId, _) async {
Expand Down
1 change: 0 additions & 1 deletion packages/amplify_datastore/pigeons/native_plugin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ abstract class NativeApiPlugin {
@async
void unsubscribe(String subscriptionId);


@async
void onStop();
}
Expand Down

0 comments on commit 80b1ef1

Please sign in to comment.