feat: implement queue system with consumer and message handling
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m15s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Failing after 3m7s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m28s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m47s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Failing after 3m32s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 1m51s

This commit is contained in:
2025-11-12 00:16:17 -05:00
parent eeb46bc982
commit 6dd32884cf
28 changed files with 1142 additions and 14 deletions

View File

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Siteworxpro\App\Annotations\Async;
use Attribute;
#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
readonly class HandlesMessage
{
public function __construct(
public string $messageClass,
) {
}
/**
* @return string
*/
public function getMessageClass(): string
{
return $this->messageClass;
}
}