Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Sep 26, 2024
1 parent a89b1fe commit 0328107
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,15 @@ export default function(eleventyConfig) {
});
};
{% endset %}
{% include "snippets/configDefinition.njk" %}

## Emitter Modes

Currently Eleventy triggers event callbacks in parallel. If you need to run the event callbacks sequentially, you can do so with the `setEmitterMode` configuration API method. Related [GitHub #3415](https://github.com/11ty/eleventy/issues/3415).

{% set codeContent %}
export default function(eleventyConfig){
eleventyConfig.setEmitterMode("sequential");
}
{% endset %}
{% include "snippets/configDefinition.njk" %}

0 comments on commit 0328107

Please sign in to comment.