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 reading the latest source code and wondering why it requires running on the main thread. For example:
MatomoTracker's func queue(event: Event) and func dispatchBatch()
MemoryQueue's functions
I'm worrying that there may be a UI glitch while a huge amount of events are queued in a short period.
If the reason for using the main thread is for its serial queue, then can we use a serial background queue instead? The enqueue/dequeue/network functions should be fine running on a background thread, or is there any reason I'm not aware of?
The text was updated successfully, but these errors were encountered:
Hi there,
I'm reading the latest source code and wondering why it requires running on the main thread. For example:
MatomoTracker
'sfunc queue(event: Event)
andfunc dispatchBatch()
MemoryQueue
's functionsI'm worrying that there may be a UI glitch while a huge amount of events are queued in a short period.
If the reason for using the main thread is for its serial queue, then can we use a serial background queue instead? The enqueue/dequeue/network functions should be fine running on a background thread, or is there any reason I'm not aware of?
The text was updated successfully, but these errors were encountered: