PreInvocationHandler type

Handler for pre-invocation hooks.

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