IFluidCodeResolver Interface
Packages > @fluidframework/container-definitions > IFluidCodeResolver
Fluid code resolvers take a Fluid code details, and resolve the full Fluid package including absolute urls for the browser file entries. The Fluid code resolver is coupled to a specific cdn and knows how to resolve the code detail for loading from that cdn. This include resolving to the most recent version of package that supports the provided code details.
Signature:
export interface IFluidCodeResolver
Methods
Method | Description |
---|---|
resolveCodeDetails(details) | Resolves a Fluid code details into a form that can be loaded |
Methods
resolveCodeDetails
Resolves a Fluid code details into a form that can be loaded
Signature:
resolveCodeDetails(details: IFluidCodeDetails): Promise<IResolvedFluidCodeDetails>;
Parameters
Parameter | Type | Description |
---|---|---|
details | IFluidCodeDetails | The Fluid code details to resolve |
Returns:
Promise<IResolvedFluidCodeDetails>
- A IResolvedFluidCodeDetails where the resolvedPackage’s Fluid file entries are absolute urls, and an optional resolvedPackageCacheId if the loaded package should be cached.