Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushSession

RushSession class

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

export declare class RushSession 

Constructors

Constructor

Modifiers

Description

(constructor)(options)

(BETA) Constructs a new instance of the RushSession class

Properties

Property

Modifiers

Type

Description

hooks

readonly

RushLifecycleHooks

(BETA)

terminalProvider

readonly

ITerminalProvider

(BETA)

Methods

Method

Modifiers

Description

getCloudBuildCacheProviderFactory(cacheProviderName)

(BETA)

getCobuildLockProviderFactory(cobuildLockProviderName)

(BETA)

getLogger(name)

(BETA)

registerCloudBuildCacheProviderFactory(cacheProviderName, factory)

(BETA)

registerCobuildLockProviderFactory(cobuildLockProviderName, factory)

(BETA)