Skip to main content

TinyliciousClientProps Interface

Properties for initializing a TinyliciousClient. \

Sealed

This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.

Signature

/** @sealed */
export interface TinyliciousClientProps

Properties

PropertyModifiersTypeDescription
connectionoptional, readonlyTinyliciousConnectionConfigOptional. Configuration for establishing a connection with the Tinylicious. If not specified, will use TinyliciousConnectionConfig's default values.
loggeroptional, readonlyITelemetryBaseLoggerOptional. A logger instance to receive diagnostic messages.

Property Details

connection

Optional. Configuration for establishing a connection with the Tinylicious. If not specified, will use TinyliciousConnectionConfig's default values.

Signature

readonly connection?: TinyliciousConnectionConfig;

Type: TinyliciousConnectionConfig

logger

Optional. A logger instance to receive diagnostic messages.

Signature

readonly logger?: ITelemetryBaseLogger;

Type: ITelemetryBaseLogger