TypeFactoryPromise Interface
Represents a Promise type in the type factory system.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/tree-agent/alpha.
For more information about our API support guarantees, see here.
Signature
export interface TypeFactoryPromise extends TypeFactoryType
Extends: TypeFactoryType
Properties
| Property | Alerts | Modifiers | Type | Description |
|---|---|---|---|---|
| _kind | Alpha | readonly | "promise" | The kind of type this represents. |
| innerType | Alpha | readonly | TypeFactoryType | The type that the Promise resolves to. |
Property Details
_kind
The kind of type this represents.
This API is provided as an alpha preview and may change without notice.
For more information about our API support guarantees, see here.
Signature
readonly _kind: "promise";
Type: "promise"
innerType
The type that the Promise resolves to.
This API is provided as an alpha preview and may change without notice.
For more information about our API support guarantees, see here.
Signature
readonly innerType: TypeFactoryType;
Type: TypeFactoryType