await yields CompatResult so .isOk() / .value / .match() work without .resolve().
await
CompatResult
.isOk()
.value
.match()
.resolve()
Attaches callbacks for the resolution and/or rejection of the Promise.
Optional
The callback to execute when the Promise is resolved.
The callback to execute when the Promise is rejected.
A Promise for the completion of which ever callback is executed.
Static
awaityieldsCompatResultso.isOk()/.value/.match()work without.resolve().