Skip to content

Commit

Permalink
👍 Add interrupted attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Jun 1, 2024
1 parent dae4ca5 commit 654c7eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions denops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ export interface Denops {
*/
readonly context: Record<PropertyKey, unknown>;

/**
* AbortSignal instance that is triggered when the user invoke `denops#interrupt()`
*/
readonly interrupted: AbortSignal;

/**
* User-defined API name and method map used to dispatch API requests.
*/
Expand Down

0 comments on commit 654c7eb

Please sign in to comment.