Versions in this module Expand all Collapse all v1 v1.1.0 Aug 31, 2021 Changes in this version + const Fulfilled + const Rejected + func All(ps []js.Value) ([]js.Value, error) + func Any(ps []js.Value) (js.Value, error) + func Race(ps []js.Value) (js.Value, error) + func Reject(v interface{}) js.Value + func Resolve(v interface{}) js.Value + type AggregateError js.Error + func (err AggregateError) Error() string + func (err AggregateError) Errors() []error + type Reason js.Value + func (r Reason) Error() string + type Result js.Value + func AllSettled(ps []js.Value) []Result + func (r Result) Reason() Reason + func (r Result) Status() string + func (r Result) Value() js.Value v1.0.0 Aug 16, 2021 Changes in this version + func Await(p js.Value) (js.Value, error) + func New() (p js.Value, resolve func(interface{}), reject func(interface{}))