File tree Expand file tree Collapse file tree
src/openedx_content/applets/publishing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,15 +73,20 @@ class DraftChangeLogEventData:
7373"""
7474The draft version of one or more entities in a `LearningPackage` has changed.
7575
76- This is emitted for when the first version of an entity is created, when a new
77- version of an entity is created (i.e. the entity is modified), when an entity is
78- reverted to an old version, or when an entity is deleted. (All referring to the
79- draft version of the entity.)
76+ This is emitted for when the first version of an entity is **created**, when a
77+ new version of an entity is created (i.e. an entity is **modified**), when an
78+ entity is **reverted** to an old version, or when an entity is **deleted**.
79+ (All referring to the draft version of the entity.) The ``old_version`` and
80+ ``new_version`` fields can be used to distinguish among these cases.
8081
8182This is a low-level batch event. It does not have any course or library context
8283information available. It does not distinguish between Containers, Components,
8384or other entity types.
8485
8586Collections and tags are not `PublishableEntity`-based, so do not participate in
8687this event.
88+
89+ ⏳ This **batch** event is emitted **synchronously**. Handlers that do anything
90+ per-entity or that is possibly slow should dispatch an asynchronous task for
91+ processing the event.
8792"""
You can’t perform that action at this time.
0 commit comments