broadcast_queue_shim_for_ndk 0.2.1 copy "broadcast_queue_shim_for_ndk: ^0.2.1" to clipboard
broadcast_queue_shim_for_ndk: ^0.2.1 copied to clipboard

Offline-first wrapper around the ndk package's broadcast use case. Persists Nostr events to a local sembast queue and retries until every targeted relay has acknowledged delivery.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add broadcast_queue_shim_for_ndk

With Flutter:

 $ flutter pub add broadcast_queue_shim_for_ndk

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  broadcast_queue_shim_for_ndk: ^0.2.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:broadcast_queue_shim_for_ndk/broadcast_queue_shim_for_ndk.dart';
0
likes
160
points
91
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Offline-first wrapper around the ndk package's broadcast use case. Persists Nostr events to a local sembast queue and retries until every targeted relay has acknowledged delivery.

Repository (GitHub)
View/report issues

Topics

#nostr #ndk #offline-first #queue

License

MIT (license)

Dependencies

ndk, sembast

More

Packages that depend on broadcast_queue_shim_for_ndk