ps 4.0.1 copy "ps: ^4.0.1" to clipboard
ps: ^4.0.1 copied to clipboard

Lightweight Publish / Subscribe library. Supports sticky messages and streams.

example/main.dart

import 'package:ps/ps.dart';

void main() {
  subscribe(['topic']).stream.listen((msg) {
    print('Received: $msg');
  });
  publish('topic', data: 'Some data');
}
0
likes
140
pub points
42%
popularity

Publisher

unverified uploader

Lightweight Publish / Subscribe library. Supports sticky messages and streams.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on ps