Skip to main content

@fluidframework/test-utils Package

Interfaces

InterfaceAlertsDescription
IOpProcessingControllerLegacyExposes fine-grained control over the Container's inbound and outbound op queues
IProvideTestFluidObjectLegacy
ITestFluidObjectLegacy

Classes

ClassAlertsDescription
LoaderContainerTrackerLegacy

Functions

FunctionAlertsReturn TypeDescription
createAndAttachContainer(source, loader, attachRequest)LegacyPromise<IContainer>Creates a detached Container and attaches it.

Function Details

createAndAttachContainer

Creates a detached Container and attaches it.

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

To use, import via @fluidframework/test-utils/legacy.

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

Signature

export declare function createAndAttachContainer(source: IFluidCodeDetails, loader: IHostLoader, attachRequest: IRequest): Promise<IContainer>;

Parameters

ParameterTypeDescription
sourceIFluidCodeDetailsThe code details used to create the Container.
loaderIHostLoaderThe loader to use to initialize the container.
attachRequestIRequestThe request to create new from.

Returns

Return type: Promise<IContainer>