MaybePromise
@daydreamsai/core / MaybePromise
Type Alias: MaybePromise<T>
MaybePromise<
T> =T|Promise<T>
Defined in: packages/core/src/types.ts:32
Represents a value that can be a promise or a direct value
Type Parameters
T
T = any
The type of the value