Closed Uzlopak closed 2 years ago
What makes you think post hooks can't handle async? Here's an example from our docs: https://github.com/vkarpov15/kareem#it-supports-returning-a-promise-1
I was looking if I could streamline pre and post function but pre is handling async stuff but post is not.
@Uzlopak is this "post hooks cannot handle async" based on that pre
has isAsync
but post
has not?
Yes
Is there a reason why pre can handle async but post can not?