[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-18 UTC."],[],[],null,["# eventarc namespace\n\nFunctions\n---------\n\n| Function | Description |\n|---------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------|\n| [onCustomEventPublished(eventType, handler)](./firebase-functions.eventarc.md#eventarconcustomeventpublished) | Handles an Eventarc event published on the default channel. |\n| [onCustomEventPublished(opts, handler)](./firebase-functions.eventarc.md#eventarconcustomeventpublished) | Handles an Eventarc event. |\n\nInterfaces\n----------\n\n| Interface | Description |\n|----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------|\n| [EventarcTriggerOptions](./firebase-functions.eventarc.eventarctriggeroptions.md#eventarceventarctriggeroptions_interface) | Options that can be set on an Eventarc trigger. |\n\neventarc.onCustomEventPublished()\n---------------------------------\n\nHandles an Eventarc event published on the default channel.\n\n**Signature:** \n\n export declare function onCustomEventPublished\u003cT = any\u003e(eventType: string, handler: (event: CloudEvent\u003cT\u003e) =\u003e any | Promise\u003cany\u003e): CloudFunction\u003cCloudEvent\u003cT\u003e\u003e;\n\n### Parameters\n\n| Parameter | Type | Description |\n|-----------|---------------------------------------------------------------------------------------------------------------|---------------------------------------|\n| eventType | string | Type of the event to trigger on. |\n| handler | (event: [CloudEvent](./firebase-functions.cloudevent.md#cloudevent_interface)\\\u003cT\\\u003e) =\\\u003e any \\| Promise\\\u003cany\\\u003e | A function to execute when triggered. |\n\n**Returns:**\n\n[CloudFunction](./firebase-functions.cloudfunction.md#cloudfunction_interface)\\\u003c[CloudEvent](./firebase-functions.cloudevent.md#cloudevent_interface)\\\u003cT\\\u003e\\\u003e\n\nA function that you can export and deploy.\n\neventarc.onCustomEventPublished()\n---------------------------------\n\nHandles an Eventarc event.\n\n**Signature:** \n\n export declare function onCustomEventPublished\u003cT = any\u003e(opts: EventarcTriggerOptions, handler: (event: CloudEvent\u003cT\u003e) =\u003e any | Promise\u003cany\u003e): CloudFunction\u003cCloudEvent\u003cT\u003e\u003e;\n\n### Parameters\n\n| Parameter | Type | Description |\n|-----------|----------------------------------------------------------------------------------------------------------------------------|---------------------------------------|\n| opts | [EventarcTriggerOptions](./firebase-functions.eventarc.eventarctriggeroptions.md#eventarceventarctriggeroptions_interface) | Options to set on this function |\n| handler | (event: [CloudEvent](./firebase-functions.cloudevent.md#cloudevent_interface)\\\u003cT\\\u003e) =\\\u003e any \\| Promise\\\u003cany\\\u003e | A function to execute when triggered. |\n\n**Returns:**\n\n[CloudFunction](./firebase-functions.cloudfunction.md#cloudfunction_interface)\\\u003c[CloudEvent](./firebase-functions.cloudevent.md#cloudevent_interface)\\\u003cT\\\u003e\\\u003e\n\nA function that you can export and deploy."]]