diff --git a/packages/inngest/src/components/InngestFunction.ts b/packages/inngest/src/components/InngestFunction.ts index 6744f4ce..c9b49e5e 100644 --- a/packages/inngest/src/components/InngestFunction.ts +++ b/packages/inngest/src/components/InngestFunction.ts @@ -90,6 +90,14 @@ export class InngestFunction< return [prefix, this.opts.id].filter(Boolean).join("-"); } + /** + * The generated or given ID for this function, prefixed with the app ID. This + * is used for routing invokes and identifying the function across apps. + */ + protected get absoluteId(): string { + return this.id(this.client.id); + } + /** * The name of this function as it will appear in the Inngest Cloud UI. */