CommandContext
interface exported by @mwillbanks/tuil-core.
interface
Public interface exported by @mwillbanks/tuil-core.
export interface CommandContext {
readonly services: ServiceContainer;
readonly signal: AbortSignal;
readonly source?: string;
readonly metadata: Readonly<Record<string, unknown>>;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
services | ServiceContainer | Yes | The services member uses the ServiceContainer contract. | ServiceContainer |
signal | AbortSignal | Yes | The signal member uses the AbortSignal contract. | — |
source | string | undefined | No | The source member uses the string | undefined contract. | — |
metadata | Readonly<Record<string, unknown>> | Yes | The metadata member uses the Readonly<Record<string, unknown>> contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference