Skip to content
GBG Documents & Biometrics Documentation

IPromiseTemplateConfiguration

Configuration type which uses a promise function to retrieve the template string.

Signature:

export interface IPromiseTemplateConfiguration
Property Type Description
processor PreProcessor The PreProcessor which the resolved template should be passed through.
provider Promise<string> A promise which will resolve with the correct template string.
type TemplateType.Promise The type of the template.

IPromiseTemplateConfiguration.processor property

Section titled “IPromiseTemplateConfiguration.processor property”

The PreProcessor which the resolved template should be passed through.

Signature:

readonly processor: PreProcessor;

IPromiseTemplateConfiguration.provider property

Section titled “IPromiseTemplateConfiguration.provider property”

A promise which will resolve with the correct template string.

Signature:

readonly provider: Promise<string>;

IPromiseTemplateConfiguration.type property

Section titled “IPromiseTemplateConfiguration.type property”

The type of the template.

Signature:

readonly type: TemplateType.Promise;