plotly / plotly/dash

add ability to prevent newer background callbacks from cancelling older ones if desired

Open
#2,751 4 comments 3 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

feature P1
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Is your feature request related to a problem? Please describe.
Currently new background callbacks cancel older ones updating the same output(s) but it would be great if this behaviour was optional. E.g if I have a large ag grid and groups for each row that contain a lot of data. I don't want to include all that data on page load so I'd like to load them only as a user expands them (and the individual row data still takes a while to load so I need BG callbacks).

At the moment if a user tries to expand a second group before the first one completes, Dash cancels the first update

Describe the solution you'd like
it would be great if there was a flag I could set in the callback decorator that prevented this

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.