zaratanDotWorld / choreWheel

Computational governance tooling
GNU Affero General Public License v3.0
9 stars 0 forks source link

Move ack() to function end #185

Closed kronosapiens closed 8 hours ago

kronosapiens commented 3 days ago

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.