dart_mq 1.1.0 dart_mq: ^1.1.0 copied to clipboard
DartMQ is a message-queue system that facilitates communication between different components in the application.
import 'package:dart_mq/dart_mq.dart';
import 'receiver.dart';
import 'sender.dart';
void main() async {
MQClient.initialize();
final sender = Sender();
final receiver = Receiver()..listenToGreeting();
await sender.sendGreeting(greeting: 'Hello, World!');
receiver.stopListening();
}