-
-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Interruptible request batches #1246
Comments
... 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 |
2 similar comments
+1 |
+1 |
+2 |
+1 this would be really useful as I want OBS to handle a lot of things that requires timing between actions and stuff, but still need it to be interruptible, doing the timings from my code and sending the request one by one is not exact enough. |
+1, ran into a situation where this would be mighty helpful for my team. |
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.
The text was updated successfully, but these errors were encountered: