Tries to await a promise and resolves with :ok(value) if the promise resolved or :err(error) if the promise rejected.
:ok(value)
:err(error)
Generated using TypeDoc
Tries to await a promise and resolves with
:ok(value)
if the promise resolved or:err(error)
if the promise rejected.