PreInvocationHandler type

召喚前フック用のハンドラー。

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