Skip to main content

Questions tagged [event-handling]

0 votes
0 answers
106 views

I'm using SDL2 in my game engine and have created custom event types that use the data from SDL_Event. This works well within my own code, but it becomes problematic with ImGui (and other libraries ...
steamdog's user avatar
1 vote
0 answers
174 views

I'm facing to an issue with my design in DDD with "Always valid Domain Model" principale and eventual consistency. I have an aggregate with several public methods to mutate its state. class ...
Paul Contremoulin's user avatar
2 votes
2 answers
377 views

This question is language/framework agnostic. EDIT: The comments and answers have highlighted how different languages approach events differently, which made me realize this question isn't really ...
Michael Haddad's user avatar
1 vote
1 answer
104 views

I have Service A that publishes an event to RabbitMQ. I have two instances of Service B that will use the event to write to its database. I have two instances of Service C that will send the event ...
DaveO's user avatar
  • 136
2 votes
1 answer
1k views

If you can have one event with multiple "things to process" or one event per thing to process, what is considered the best practice? Bearing in mind, the former option may involve persisting ...
Dr. Thomas C. King's user avatar
0 votes
1 answer
247 views

An issue I find myself having with code layout in my React components is that I end up having to define too many handlers. I generally write only functional components with hooks, but within the body ...
temporary_user_name's user avatar
4 votes
2 answers
564 views

I'm working on an application implemented in different microservices, which uses a message broker (event bus) to consume events (simple pub/sub). As for now, in a given microservice, we are spawning 1 ...
underthevoid's user avatar
0 votes
1 answer
213 views

I got the following interview question: Say the company has this event, where we will create a button on a website and only the first ten clicks will be accepted and win a prize. Assume that there a ...
amazingsaluyot's user avatar

15 30 50 per page