---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [config](../index.md) / MaybePromise

# Type Alias: MaybePromise\<T\>

> **MaybePromise**\<`T`\> = `T` \| `Promise`\<`T`\>

Defined in: [packages/b2c-tooling-sdk/src/config/types.ts:26](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/config/types.ts#L26)

A value that may be synchronous or a Promise.

Used in the [ConfigSource](../interfaces/ConfigSource.md) interface so that sources can return
results either synchronously or asynchronously. The resolver normalizes
both forms with `await`.

## Type Parameters

### T

`T`
