Open Nixill opened 3 months ago
... This would be especially useful when I accidentally send a 15 minute long batch request because I changed something 30 seconds long from 1fps to 30fps without cutting the sleep from 30 frames to 1 frame.
+1
+1
+1
+2
Feature Request Type
RPC Request
Feature Request Type (Other)
No response
Requested Feature
Three related things:
1. RequestStatus::Interrupted
Given a value of 208 or whatever's next in the 200s at the time of implementation, this request status is the returned status for unprocessed inner requests within a request batch. If
haltOnError
was true, then this is only returned for the first interrupted inner request; otherwise, it is returned for all unprocessed inner requests.2. Request:
InterruptRequestBatch
Interrupts a running request batch sent by the same client.
Cannot interrupt an inner request that is in the middle of being processed, unless that inner request is a
Sleep
request. If not, the next request to be processed (and all thereafter) will instead be skipped with anInterrupted
request status.Has the following three parameters.
Some potential returned Request Status codes include:
3. Request batch parameter:
interruptOnDisconnect
Placed directly in the
d
of a request batch message. Defaults tofalse
, preserving current behavior. Whentrue
, if the client that sends this request batch disconnects in the middle of its execution, it is interrupted immediately.Requested Feature Usage Scenario
It would be nice to be able to interrupt animations that I've started from the websocket client.
Edit
Made the headings within the "Requested Feature" heading a lower level than that heading itself.