Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ promise_fail
Function
promise_fail
test/embind/test_val_coro.cpp:34–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
val promise_fail() {
35
return val::take_ownership(promise_fail_impl());
36
}
37
38
// Test that we can subclass and make custom awaitable types.
39
template <typename T>
Callers
1
failingPromise<0>
Function · 0.70
Calls
1
take_ownership
Function · 0.50
Tested by
no test coverage detected