Skip to content

Commit 002de60

Browse files
Add note on removing handler
1 parent 40fc435 commit 002de60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/connections/functions/insert-functions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ Segment invokes a separate part of the function (called a "handler") for each ev
6060
6161
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.
6262

63+
> info ""
64+
> Removing the handler for a specific event type will result in the events of that type being blocked from arriving at their destination.
65+
6366
Insert functions can define handlers for each message type in the [Segment spec](/docs/connections/spec/):
6467

6568
- `onIdentify`
@@ -354,4 +357,4 @@ DELETE deleteInsertFunction(fn_id)
354357

355358
For more information, visit Segment's [Public API docs](https://docs.segmentapis.com/tag/Functions){:target="_blank"}.
356359

357-
{% endcomment %}
360+
{% endcomment %}

0 commit comments

Comments
 (0)