> For the complete documentation index, see [llms.txt](https://docs.discorddungeons.me/quest-editor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discorddungeons.me/quest-editor/quest-blocks/promise.md).

# Promise Block

![Promise Block](/files/-LNjFPeQ-PfQcgECJWL8)

The promise block adds a `.then()` function to the block it is attached to.

If a compatible block is added inside the promise wrapper, it will return a promise so you can attach another promise block to the current one.

## Parameters

| Name    | Usage                                | Type | Other |
| ------- | ------------------------------------ | ---- | ----- |
| returns | The variables the promise should get | Text |       |
