PreInvocationHandler type

المعالج لخطافات ما قبل الاستدعاء.

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