Skip to content

Add abortable loading for PageWithTable#415

Open
fschinkel wants to merge 1 commit into
releases/26.2from
features/fschinkel/26.2/PageWithTable-abortable-loading
Open

Add abortable loading for PageWithTable#415
fschinkel wants to merge 1 commit into
releases/26.2from
features/fschinkel/26.2/PageWithTable-abortable-loading

Conversation

@fschinkel

Copy link
Copy Markdown
Member

Add release-notes.

427785

Add release-notes.

427785
@fschinkel fschinkel requested a review from cguglielmo June 26, 2026 11:01
@fschinkel fschinkel self-assigned this Jun 26, 2026
Comment on lines +102 to +103
To address this issue the `abortableContext` was introduced. With this one can run a callback in the context of an `AbortController`.
All abortable elements that are registered while this context is present may than be aborted using the `AbortController`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To address this issue the abortableContext was introduced. It allows code to be executed within the scope of an AbortController.


== PageWithTable: abortable loading (Scout JS)

The `PageWithTable` now supports abortable loading. In order to support this the `PageWithTable` creates an `abortableContext` to run its `_loadTableData(searchFilter)` in.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: To support this, PageWithTable runs _loadTableData(searchFilter) within an abortable context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants