See Original text in context
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.