in src/InvocationModel.ts [38:47]
constructor(coreCtx: CoreInvocationContext) {
this.#coreCtx = coreCtx;
this.#functionName = nonNullProp(coreCtx.metadata, 'name');
this.#bindings = nonNullProp(coreCtx.metadata, 'bindings');
const triggerBinding = nonNullValue(
Object.values(this.#bindings).find((b) => isTrigger(b.type)),
'triggerBinding'
);
this.#triggerType = nonNullProp(triggerBinding, 'type');
}