IPromiseTemplateConfiguration – GBG IDscan Documentation

IPromiseTemplateConfiguration

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

Signature:

export interface IPromiseTemplateConfiguration 

Properties

PropertyTypeDescription
processorPreProcessorThe PreProcessor which the resolved template should be passed through.
providerPromise<string>A promise which will resolve with the correct template string.
typeTemplateType.PromiseThe type of the template.

IPromiseTemplateConfiguration.processor property

The PreProcessor which the resolved template should be passed through.

Signature:

readonly processor: PreProcessor;

IPromiseTemplateConfiguration.provider property

A promise which will resolve with the correct template string.

Signature:

readonly provider: Promise<string>;

IPromiseTemplateConfiguration.type property

The type of the template.

Signature:

readonly type: TemplateType.Promise;

Was this page helpful?