arxenix
09/25/2018, 9:08 PMinit{}
block of my main view, I have this:
runAsync {
filters = tracker.fetchFilters()
println("done fetching filters! ${filters.size}")
fire(SearchFiltersEvent(filters))
sort = tracker.fetchSorts()
println("done fetching sort!")
fire(RequestItemsEvent)
}
SearchFiltersEvent is marked as RunOn.ApplicationThread, and RequestItemsEvent is marked as RunOn.BackgroundThread
For some reason, the subscriber for SearchFiltersEvent gets the event, but the subscriber for RequestItemsEvent doesn't.