swap method

Resolvable<Ok<T>> swap()

Implementation

@pragma('vm:prefer-inline')
Resolvable<Ok<T>> swap() => unwrap().then((e) => Ok(e));