Skip to content

Commit 3a765c7

Browse files
authored
refactor: consolidate CallQueuedClosure to support package (#1003)
* refactor: consolidate CallQueuedClosure to support package This refactoring consolidates the async queue closure functionality into the support package, eliminating circular dependencies and simplifying the package structure. Changes: - Move CallQueuedClosure and ClosureParameterInjection from async-queue-closure-job to support package - Update async-queue-closure-job to depend on support package instead - Remove duplicate dependencies from async-queue-closure-job - Add laravel/serializable-closure dependency to support package - Update all references to use the new location - Remove tests from async-queue-closure-job (tests will be maintained in support package) - Add setExchange() and setRoutingKey() methods to PendingAmqpProducerMessageDispatch - Change property visibility from public to protected in dispatch classes for better encapsulation * fix: update hyperf/support version to ~3.1.73 in composer.json * refactor: update README and deprecate dispatch function in async-queue-closure-job package --------- Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
1 parent 2dfd325 commit 3a765c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
use Countable;
1818
use DateTimeZone;
1919
use Exception;
20-
use FriendsOfHyperf\AsyncQueueClosureJob\CallQueuedClosure;
2120
use FriendsOfHyperf\AsyncTask\Task as AsyncTask;
2221
use FriendsOfHyperf\AsyncTask\TaskInterface as AsyncTaskInterface;
22+
use FriendsOfHyperf\Support\CallQueuedClosure;
2323
use FriendsOfHyperf\Support\Environment;
2424
use Hyperf\Amqp\Message\ProducerMessageInterface;
2525
use Hyperf\Amqp\Producer;

0 commit comments

Comments
 (0)