PostInvocationHandler type

用於呼叫後鉤子的處理程序

type PostInvocationHandler = (
  context: PostInvocationContext
) => void | Promise<void>