PreInvocationHandler type

Handler per gli hook pre-invocazione.

type PreInvocationHandler = (
  context: PreInvocationContext
) => void | Promise<void>