libwasm ~master (2024-01-10T15:05:21Z)
Dub
Repo
reject
libwasm
promise
Returns a new
Promise
which is rejected with the given reason.
Promise
!(
T
,
E
)
reject
(
T
E
)
(
E
reason
)
Meta
Source
See Implementation
libwasm
promise
classes
Promise
functions
all
reject
require
resolve
templates
PromiseError
PromiseValue
PromiseValueTransform
isPromise
Returns a new Promise which is rejected with the given reason.