Skip to content

Commit a1892a6

Browse files
authored
Add info to return event in handler to sent through destination
Added the following statement in - Code the destination insert function section: "For event types that you want to sent through the destination, return the event in the respective event handlers.”
1 parent 2689d2b commit a1892a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connections/functions/insert-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Segment invokes a separate part of the function (called a "handler") for each ev
5454
> info ""
5555
> Your function isn't invoked for an event if you've configured a [destination filter](/docs/connections/destinations/destination-filters/), and the event doesn't pass the filter.
5656
57-
The default source code template includes handlers for all event types. You don't need to implement all of them - just use the ones you need, and skip the ones you don't.
57+
The default source code template includes handlers for all event types. You don't need to implement all of them - just use the ones you need, and skip the ones you don't. For event types that you want to sent through the destination, return the event in the respective event handlers.
5858

5959
> info ""
6060
> Removing the handler for a specific event type results in blocking the events of that type from arriving at their destination.

0 commit comments

Comments
 (0)