race

open fun race(a: Action): RaceAction
open fun race(a: () -> Action): RaceAction

Returns a new action that executes this action in parallel with a, but stops both actions when one finishes first.


Returns a new action that executes this action in parallel with f, but stops both actions when one finishes first.