or

open fun or(other: WorkResult): WorkResult

Returns this result if it did work, otherwise returns the result given as a parameter.