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

Property Modifiers Type Description
connection optional, readonly TinyliciousConnectionConfig Optional. Configuration for establishing a connection with the Tinylicious. If not specified, will use TinyliciousConnectionConfig's default values.
logger optional, readonly ITelemetryBaseLogger Optional. 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.

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
readonly connection?: TinyliciousConnectionConfig;

Type: TinyliciousConnectionConfig

logger

Optional. A logger instance to receive diagnostic messages.

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
readonly logger?: ITelemetryBaseLogger;

Type: ITelemetryBaseLogger