How to access query.data right after query.trigger()?

Yes, 1st time when the above block is executed, the query is unable to set values. Even though related queries are correctly triggered.

Here is what solved it for me, incase someone faces the same issue:

ECO_fetchFileAttachmentsFromS3.data = null; // set null value
ECO_fetchFileAttachmentsFromS3.data = await new Promise(resolve => {
  resolve(ECO_fetchFileAttachmentsFromS3.trigger());
});