You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just starting to use delphi-event-bus and I'd like to have some more information on the subscription types, like typical use cases and when to use which subscription method.
I assume, but I'm not 100% sure:
TThreadMode.Posting is the default when no type is given in the subscribe attribute
TThreadMode.Main should be used, when the consumed event results in an ui update
If an event is produced and consumed in the UI, Posting is equvalent to Main
What about the others?
The text was updated successfully, but these errors were encountered:
@luebbe
I would not consider this guidelines, but it might help you experiment.
To figure out my own issues I wrote a FMX demo app here my fork, deb overflow which simulates a "busy app", multiple threads producing events and slowly processing the events.
Hi Folks,
I'm just starting to use delphi-event-bus and I'd like to have some more information on the subscription types, like typical use cases and when to use which subscription method.
I assume, but I'm not 100% sure:
What about the others?
The text was updated successfully, but these errors were encountered: