From f77f42a929d957bdc29eb85ef775fd3224bc8f07 Mon Sep 17 00:00:00 2001 From: Rohit Rajan Date: Sun, 28 Sep 2025 23:00:24 +0530 Subject: [PATCH] feat: add abort state getter --- maxun-core/src/interpret.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index ae224b9e..98dd34cc 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -123,6 +123,13 @@ export default class Interpreter extends EventEmitter { this.isAborted = true; } + /** + * Returns the current abort status + */ + public getIsAborted(): boolean { + return this.isAborted; + } + private async applyAdBlocker(page: Page): Promise { if (this.blocker) { try {