Skip to content

Commit

Permalink
Update JS enrichment
Browse files Browse the repository at this point in the history
  • Loading branch information
stanch authored Jun 12, 2024
1 parent 6f0b22f commit ebf35fd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ function process(event) {
}
```

Starting with Enrich 4.1.0, it is possible to have multiple JavaScript enrichments. (Currently, the order in which they would run is not defined.)

With versions prior to 4.1.0, you can only have _one_ JavaScript enrichment, and hence a single `process` function for your pipeline. However, you can split more complex logic into multiple helper functions and variables as you see fit, as long as you comply with the above interface.
You can only have _one_ JavaScript enrichment, and hence a single `process` function for your pipeline. However, you can split more complex logic into multiple helper functions and variables as you see fit, as long as you comply with the above interface.

:::tip JavaScript Language Features

Expand Down

0 comments on commit ebf35fd

Please sign in to comment.