# value-or-promise

## 1.0.11

### Patch Changes

* 81274d4: fix(ValueOrPromise.all): sync code should error first

## 1.0.10

### Patch Changes

* 7219d1c: fix(types): implementation signature should also be callable

## 1.0.9

### Patch Changes

* ade3f7d: fix(types): do not make results nullable

## 1.0.8

### Patch Changes

* 1b378e8: chore(docs): correct typo

## 1.0.7

### Patch Changes

* 8366d7e: fix(resolve): always resolve to actual Promise

  Even though ValueOrPromise objects can be initialized with anything PromiseLike, it is helpful to have them always resolve to either values or to actual promises.

## 1.0.6

### Patch Changes

* a246304: fix(dependencies): no dependencies, please

## 1.0.5

### Patch Changes

* 4652893: fix published api

## 1.0.4

### Patch Changes

* a4eff20: add missing catch

## 1.0.3

### Patch Changes

* 817088d: exclude spec files from build

## 1.0.2

### Patch Changes

* e712ab8: add missing function ValueOrPromise.all

## 1.0.1

### Patch Changes

* 4e5e5f8: add resolve method to resolve the ValueOrPromise to either a value or promise


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mediamagic.dev/product-docs/services/graphql-gateway/node_modules/value-or-promise/changelog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
