Skip to content

marko-php/marko-queue-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marko/queue-sync

Synchronous queue driver — executes jobs immediately during the current request, ideal for development and testing.

Installation

composer require marko/queue-sync

Quick Example

use Marko\Queue\QueueInterface;

public function __construct(
    private readonly QueueInterface $queue,
) {}

public function process(): void
{
    // Executes immediately, throws on failure
    $this->queue->push(new SendWelcomeEmail('user@example.com'));
}

Documentation

Full usage, API reference, and examples: marko/queue-sync

About

[READ-ONLY] Synchronous queue driver for Marko Framework. Issues and PRs at https://github.com/marko-php/marko

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages