nats_for_dart 0.1.0 copy "nats_for_dart: ^0.1.0" to clipboard
nats_for_dart: ^0.1.0 copied to clipboard

Dart FFI bindings for the NATS C client — core pub/sub, JetStream, and KeyValue store.

0.1.0 #

  • Replaced C-style enum exports with Dart-idiomatic enums. jsStorageType.js_MemoryStorage is now StorageType.memory, natsStatus.NATS_TIMEOUT is now NatsStatus.timeout, etc. All 8 enums renamed: RetentionPolicy, DiscardPolicy, StorageType, DeliverPolicy, AckPolicy, ReplayPolicy, KvOperation, NatsStatus.
  • Core pub/sub with synchronous and asynchronous subscriptions
  • Request-reply messaging
  • JetStream publish, pull subscribe, and stream/consumer management
  • KeyValue store with get, put, delete, watch, history, and optimistic concurrency
  • Connection lifecycle event streams (disconnect, reconnect, close, error)
  • Vendored nats.c v3.12.0 and LibreSSL (no system dependencies needed)
0
likes
150
points
125
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart FFI bindings for the NATS C client — core pub/sub, JetStream, and KeyValue store.

Repository (GitHub)
View/report issues
Contributing

Topics

#nats #messaging #pubsub #jetstream

License

Apache-2.0 (license)

Dependencies

code_assets, ffi, hooks, logging, meta

More

Packages that depend on nats_for_dart