points by MOZGIII 13 hours ago | 0 comments
Well, yeah, today the sync code would be awkward to use - possible, but hacky.
With the way our current Python workers are implemented you'd have we'd have to place the sync code onto threads manually.
We could make it happen though, if there is a demand for sync code; we can allow actions to be non-async, and from that run them in sync mode - either with an sdk-level offload to threads off-of async reactor, or on a separate worker pools that run fork-per-action. From the perspective of our VM, we don't really have a difference there...
Aún no hay comentarios.