Leanplum / Leanplum-Android-SDK

Leanplum's integrated solution delivers meaningful engagement across messaging and the in-app experience.
https://www.leanplum.com
Apache License 2.0
46 stars 40 forks source link

Add async functionality to Action Queue #543

Closed hborisoff closed 1 year ago

hborisoff commented 1 year ago
What Where/Who
People Involved @hborisoff

Implementation

Enable or disable background thread using LeanplumActions.setUseWorkerThreadForDecisionHandlers(boolean).

Added another ThreadHandler instance in OperationQueue specifically for the Action Queue background work. It will execute work sequentially.