# How to wait for this.store.find promise to finish before loading a widget

**URL:** <https://meta.discourse.org/t/how-to-wait-for-this-store-find-promise-to-finish-before-loading-a-widget/238574>\
**Category:** Development\
**Created:** [September 9, 2022, 5:07pm UTC](https://meta.discourse.org/t/how-to-wait-for-this-store-find-promise-to-finish-before-loading-a-widget/238574 "2022-09-09T17:07:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![attj](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@attj](https://meta.discourse.org/u/attj)\
**Post date:** [September 9, 2022, 5:07pm UTC](https://meta.discourse.org/t/how-to-wait-for-this-store-find-promise-to-finish-before-loading-a-widget/238574/1 "2022-09-09T17:07:39Z")

</div>

I am using a widget where its data is filled by obtainin some tag descriptions. I retrieve the descriptions as follows:

```plaintext
// tag_arr: variable containing an array of tag names.
tag_arr.forEach(tag => {
  this.store.find("tag-info", tag).then(result => {result.description //access tag description and do stuff.}
});

```

However, the descriptions won’t show up because the widget loads up before all iterations are completed. Is it possible to wait until this forEach actually finishes?
