Skip to content

Commit e8b01f9

Browse files
committed
Expose Client::shutdown
1 parent bad1312 commit e8b01f9

File tree

5 files changed

+268
-168
lines changed

5 files changed

+268
-168
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
* Expose `Client::send_event_builder` ([Yuki Kishimoto])
4545
* Expose `Client::automatic_authentication` ([Yuki Kishimoto])
4646
* Expose `Client::reset` ([Yuki Kishimoto])
47+
* Expose `Client::shutdown` ([Yuki Kishimoto])
4748
* Expose signer methods for `Client` ([Yuki Kishimoto])
4849
* Add `SendEventOutput` ([Yuki Kishimoto])
4950

lib/src/rust/api/client.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ abstract class Client implements RustOpaqueInterface {
6464
/// Set nostr signer
6565
Future<void> setSigner({required NostrSigner signer});
6666

67+
/// Completely shutdown client
68+
Future<void> shutdown();
69+
6770
/// Get current nostr signer
6871
///
6972
/// Rise error if it not set.

0 commit comments

Comments
 (0)