In Promise§

See primary documentation in context for method result

method result(Promise:D:)

Waits for the promise to be kept or broken. If it is kept, returns the result; otherwise throws the result as an exception.