diff --git a/README.md b/README.md index b78f963..1519e0e 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,9 @@ end client.on :close do |code, reason| # You may attempt to reconnect to the relay here end + +# This line keeps the background client from exiting immediately. +gets ``` ## 📚 Documentation diff --git a/docs/getting-started/overview.md b/docs/getting-started/overview.md index bc3a15a..6f4124d 100644 --- a/docs/getting-started/overview.md +++ b/docs/getting-started/overview.md @@ -165,6 +165,9 @@ end client.on :close do |code, reason| # You may attempt to reconnect to the relay here end + +# This line keeps the background client from exiting immediately. +gets ``` Beyond what's covered here, the Nostr protocol and this gem boast a wealth of additional functionalities. For an