Skip to main content

AsyncOptionalFluidObjectProvider TypeAlias

This is a condensed version of Record that requires the object has all the FluidObject properties as its type, mapped to an object that implements the property or undefined. \

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/synthesize/legacy.

For more information about our API support guarantees, see here.

Signature

export type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
[P in keyof T]?: Promise<T[P] | undefined>;
};

Type Parameters

Parameter Description
T