ConnectorTriggerHandler type

Handler function for a connector trigger. Return a value to send it to the return output binding.

type ConnectorTriggerHandler<TItem, TContext> = (
  context: TContext,
  invocationContext: InvocationContext
) => Promise<unknown>