join method
Joins this fiber, returning the result or throwing on failure
Implementation
Future<A> join() async {
final exit = await _future;
switch (exit) {
case Success(:final value):
return value;
case Failure(:final cause):
throw cause.toException();
}
}