You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates are replies that do not terminate a subscription. An APIError on a subscription automatically terminates the subscription.
@quest.publisher is a decorator on APIs that allow subscriptions, which run until completion (in new task): calling publish_reply for updates (intermediate replies) and returning the final reply (if ever).
I suspect we'll want to introduce a "channel" concept, which is a Queue that returns events to the publisher so that it can be canceled (Queue.shutdown(immediate=True) or a PriorityQueue where cancel is high priority item).
The text was updated successfully, but these errors were encountered:
API calls come in two styles:
Updates are replies that do not terminate a subscription. An APIError on a subscription automatically terminates the subscription.
@quest.publisher
is a decorator on APIs that allow subscriptions, which run until completion (in new task): calling publish_reply for updates (intermediate replies) and returning the final reply (if ever).I suspect we'll want to introduce a "channel" concept, which is a Queue that returns events to the publisher so that it can be canceled (
Queue.shutdown(immediate=True)
or a PriorityQueue where cancel is high priority item).The text was updated successfully, but these errors were encountered: