@@ -176,27 +176,37 @@ export async function loadExistingContainer(
176176}
177177
178178/**
179- * todo
179+ * Properties required to load a frozen container from pending state.
180180 * @legacy @alpha
181181 */
182- export async function loadFrozenContainerFromPendingState ( props : {
182+ export interface ILoadFrozenContainerFromPendingStateProps {
183+ /**
184+ * The code loader handles loading the necessary code for running a container once it is loaded.
185+ */
183186 readonly codeLoader : ICodeDetailsLoader ;
187+
188+ /**
189+ * The url resolver used by the loader for resolving external urls into Fluid urls.
190+ */
184191 readonly urlResolver : IUrlResolver ;
192+
193+ /**
194+ * The request to resolve the container.
195+ */
185196 readonly request : IRequest ;
186197
187198 /**
188199 * Pending local state to be applied to the container.
189200 */
190201 readonly pendingLocalState : string ;
202+
191203 /**
192- * A property bag of options/policies used by various layers
193- * to control features
204+ * A property bag of options/policies used by various layers to control features.
194205 */
195206 readonly options ?: IContainerPolicies | undefined ;
196207
197208 /**
198- * Scope is provided to all container and is a set of shared
199- * services for container's to integrate with their host environment.
209+ * Scope is provided to all container and is a set of shared services for container's to integrate with their host environment.
200210 */
201211 readonly scope ?: FluidObject | undefined ;
202212
@@ -214,7 +224,16 @@ export async function loadFrozenContainerFromPendingState(props: {
214224 * Client details provided in the override will be merged over the default client.
215225 */
216226 readonly clientDetailsOverride ?: IClientDetails | undefined ;
217- } ) : Promise < IContainer > {
227+ }
228+
229+ /**
230+ * Loads a frozen container from pending local state.
231+ * @param props - Properties required to load a frozen container from pending state.
232+ * @legacy @alpha
233+ */
234+ export async function loadFrozenContainerFromPendingState (
235+ props : ILoadFrozenContainerFromPendingStateProps ,
236+ ) : Promise < IContainer > {
218237 return loadExistingContainer ( {
219238 ...props ,
220239 documentServiceFactory : new FrozenDocumentServiceFactory ( ) ,
0 commit comments