I require my custom business logic to have lists as values in the return map
// sync calls, 4 of them, in handleEvent
@Override
public Map handleEvent( RunnerContext context, Map eventArgs )
{
List<Map> tableACollection = Backendless.Data.of("TABLE-A").find(queryBuilder); // sync call for TABLE-A
List<Map> tableBCollection = Backendless.Data.of("TABLE-B").find(queryBuilder); // sync call for TABLE-B
List<Map> tableCCollection = Backendless.Data.of("TABLE-C").find(queryBuilder); // sync call for TABLE-C
List<Map> tableDCollection = Backendless.Data.of("TABLE-D").find(queryBuilder); // sync call for TABLE-D
Map<String, List<Map>> map = new HashMap<String, List<Map>>();
map.put("tableACollectionKey", tableACollection);
map.put("tableBCollectionKey", tableBCollection);
map.put("tableCCollectionKey", tableCCollection);
map.put("tableDCollectionKey", tableDCollection);
}
wrong 3rd arguement when i attempt modify the dispatch
Backendless.Events.dispatch("MyEvent", null, new AsyncCallback<Map<String, List<Map>>>() {
@Override
public void handleResponse(Map<String, List<Map>> map) {
}
@Override
public void handleFault(BackendlessFault fault) {
}
});