DriverPreCheckInfo Interface

Packages > @fluidframework/driver-definitions > DriverPreCheckInfo

Information that can be returned by a lightweight, seperately exported driver function. Used to preanalyze a URL for driver compatibility and preload information.

Signature:

export interface DriverPreCheckInfo 

Properties

List of properties of this interface
Property Type Description
codeDetailsHint string A code details hint that can potentially be used to prefetch container code prior to having a snapshot.
containerPath string
criticalBootDomains string[] Domains that will be connected to on the critical boot path. Hosts can choose to preconnect to these for improved performance.

Events

codeDetailsHint

A code details hint that can potentially be used to prefetch container code prior to having a snapshot.

Signature:

codeDetailsHint?: string;

containerPath

Warning: This API is now obsolete.

  • only needed as long as long as Loader.request() does not work as intended. When Loader.request() caches and resolves pathing properly, this can be removed. #4489, #4491

Signature:

containerPath: string;

criticalBootDomains

Domains that will be connected to on the critical boot path. Hosts can choose to preconnect to these for improved performance.

Signature:

criticalBootDomains?: string[];