-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
icon: arrow-up-right | ||
--- | ||
--- | ||
[!badge variant="primary" text="low level"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
label: Use Cases | ||
icon: pulse | ||
order: 99 | ||
expanded: true | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
--- | ||
icon: arrow-down-left | ||
--- | ||
--- | ||
|
||
[!badge variant="primary" text="low level"] | ||
|
||
## Usage Example | ||
|
||
:::code source="../../../ndk/packages/ndk/example/basic_test.dart" language="dart" range="23-46" ::: | ||
|
||
## When to use | ||
|
||
Requests schould be used when no other usecase fits your needs. \ | ||
Ther is ´.query´ and ´subscription´ representing the nostr equivalent, ´subscription´ schould only be used when absolutely necessary. Many relays limit the amout of simultanious subscriptions. |