Skip to content

Document quirky Listenable notification pattern #7570

@abarth

Description

@abarth

If you add the same callback to a Listenable twice and remove it once while an iteration is ongoing, the callback might still be called twice. We should document that quirky behavior (or figure out a clever way to remove the quirk).

This quirk is especially tricky when you have derivative animations that share a common parent. They'll forward their listeners to the parent, which might be surprising.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions