Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IPhasedCommand

IPhasedCommand interface

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.

Information about the currently executing phased script command (as defined in command-line.json, or default "build" or "rebuild") provided to plugins.

Signature:

export interface IPhasedCommand extends IRushCommand 

Extends: IRushCommand

Properties

Property

Modifiers

Type

Description

hooks

readonly

PhasedCommandHooks

(ALPHA) Hooks into the execution of the current phased command

sessionAbortController

readonly

AbortController

(ALPHA) An abort controller that can be used to abort the command. Long-lived plugins should listen to the signal to handle any cleanup logic.