streakphp / streak-bundle Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Because now first subscription wont be started again until all others are not done.
it defines number of events that listeners can listen to before changes are committed
...so elapsed time will include initialisation of the subscription.
create generic messenger handlers for query & command bus
use Streak\Application\Command;
use Streak\Application\CommandBus;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/**
* Simple messenger adapter for Streak command bus.
*
* @author Alan Gabriel Bem <[email protected]>
*/
class CommandDispatchingHandler implements MessageHandlerInterface
{
private CommandBus $bus;
public function __construct(CommandBus $bus)
{
$this->bus = $bus;
}
public function __invoke(Command $command) : void
{
$this->bus->dispatch($command);
}
}
...so next subscription - and its underlying producer(s) - may not be committed properly as unit of work may have some leftovers.
it seems while verbosity is -v
command waits to the end of its run to output subscriptions results. Make it output results ASAP.
... elapsed time and memory consumption in debug mode.
This option will passed down from streak:subscriptions:run
to streak:subscription:run
and force command to stop when its duration will reach --timeout
seconds.
After snapshots are reset it could be a great to be able to rebuild their snapshots
get rid of usleep
...or at least some kind of reusable controller service.
...by handling SIGINT
and SIGINT
pcntl_async_signals(true);
pcntl_signal(SIGINT, [$this, 'terminate']);
pcntl_signal(SIGTERM, [$this, 'terminate']);
e.g. subscriptions for newly created projections that should start for event already deep in the beginning of event store.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.