race
A race condition can occur between competing snippets, like snippets based on the same environment, or snippets that signal a winning strategy but can also stop executing.
Only Conditional Hiding Snippets are raceable.
Parameters
Name | Description | Mandatory |
---|---|---|
| Begins a race, passing an arbitrary amount of winners which, by default, is | Yes |
| Stops a race. | Yes |
Filter examples
Filter | Result |
---|---|
| A snippet wins the race, and all others are flagged as losers. A registered callback to stop losing snippets from executing is then invoked. |
Other resources
Last updated