As discovered in #154, it seems like the ack() function is meant to be called after the synchronous response has completed. Currently we call it at the start of the function, which may be inconsistent with the function's semantics. Let's move these calls to after the synchronous activity, but before any asynchronous work.
As discovered in #154, it seems like the
ack()
function is meant to be called after the synchronous response has completed. Currently we call it at the start of the function, which may be inconsistent with the function's semantics. Let's move these calls to after the synchronous activity, but before any asynchronous work.