utopia_queue 0.2.0 copy "utopia_queue: ^0.2.0" to clipboard
utopia_queue: ^0.2.0 copied to clipboard

Light and easy to use queue library for Dart server projects

example/utopia_queue_example.dart

import 'package:utopia_queue/utopia_queue.dart';

void main(List<String> arguments) async {
  final connection = ConnectionRedis('localhost', 6379);
  final Server server = Server(connection, queue: 'myqueue');

  server.job().inject('message').action((Message message) {
    print(message.toMap());
  });
  server.start(threads: 2);
}
1
likes
0
pub points
0%
popularity

Publisher

verified publisherappwriters.dev

Light and easy to use queue library for Dart server projects

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

redis, utopia_di, uuid

More

Packages that depend on utopia_queue