A Vapor-esque Queues implementation for your swift-libp2p app
This repo contains the code necessary for a swift-libp2p app to create, schedule, dispatch and execute jobs / services.
- It is designed to be used with a Queues driver (ex: redis queues driver)
- See the Vapor Queues documentation for further information and examples on how to use Queues in your app.
Include the following dependency in your Package.swift file
let package = Package(
...
dependencies: [
...
.package(url: "https://github.com/swift-libp2p/swift-libp2p-queues.git", .upToNextMinor(from: "0.0.1"))
],
...
.target(
...
dependencies: [
...
.product(name: "Queues", package: "swift-libp2p-queues"),
]),
...
)check out the tests for more examples
Contributions are welcomed! This code is very much a proof of concept. I can guarantee you there's a better / safer way to accomplish the same results. Any suggestions, improvements, or even just critiques, are welcome!
Let's make this code better together! 🤝
MIT © 2026 Breth Inc.