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
It should be possible to re-try a request when a certain condition mets. This can be particularly useful when an action is performed asynchronously - like processing a video, in example.
A request retry could be triggered by a special function callable in the [Script] section. Also, there could be an option to define the maximum amount of retries.
The retry function could have the following signature.
functionretry(in_ms?: number): boolean;
in_ms defines a duration which is awaited before the next retry. The function returns a boolean which is true, when a next retry will occur. Otherwise, the function will return false, when no further retry will be scheduled. This can occur when max-retries has reached, in example.
The text was updated successfully, but these errors were encountered:
It should be possible to re-try a request when a certain condition mets. This can be particularly useful when an action is performed asynchronously - like processing a video, in example.
A request retry could be triggered by a special function callable in the
[Script]
section. Also, there could be an option to define the maximum amount of retries.The
retry
function could have the following signature.in_ms
defines a duration which is awaited before the next retry. The function returns a boolean which istrue
, when a next retry will occur. Otherwise, the function will returnfalse
, when no further retry will be scheduled. This can occur whenmax-retries
has reached, in example.The text was updated successfully, but these errors were encountered: