Skip to content

Commit

Permalink
Add category
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Aug 3, 2023
1 parent 8c5db34 commit 52657ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/client/centrifuge.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import 'package:meta/meta.dart';
/// {@template centrifuge}
/// Centrifuge client.
/// {@endtemplate}
/// {@category Client}
final class Centrifuge extends CentrifugeBase
with
CentrifugeErrorsMixin,
Expand Down
2 changes: 2 additions & 0 deletions lib/src/client/observer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import 'package:centrifuge_dart/src/client/centrifuge_interface.dart';
import 'package:centrifuge_dart/src/model/event.dart';

/// An interface for observing the behavior of Centrifuge instances.
/// {@category Client}
/// {@subCategory Observer}
abstract class CentrifugeObserver {
/// Called whenever a [ICentrifuge] is instantiated.
void onCreate(ICentrifuge client) {}
Expand Down

0 comments on commit 52657ce

Please sign in to comment.