feat(llc, persistence): add support for open and close persistence via client.
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -17,6 +17,11 @@ abstract class ChatPersistenceClient {
|
||||
/// Whether the connection is established.
|
||||
bool get isConnected;
|
||||
|
||||
/// The current user id to which the client is connected.
|
||||
///
|
||||
/// Returns `null` if the client is not connected.
|
||||
String? get userId;
|
||||
|
||||
/// Creates a new connection to the client
|
||||
Future<void> connect(String userId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user