dispatchrun / dispatch-py

Python package to develop applications with Dispatch.
https://pypi.org/project/dispatch-py/
Apache License 2.0
56 stars 3 forks source link

Handle PollResult errors #87

Closed chriso closed 8 months ago

chriso commented 8 months ago

Dispatch may now return an error on PollResult. See https://github.com/stealthrocket/dispatch-sdk-protobuf/pull/13.

The local coroutine scheduler (#52) should gracefully handle these errors, for example by raising an exception in the coroutines that are suspended on a call that was present in the previous poll response.