PostInvocationHandler type

Handler for post-invocation hooks

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