We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import _Concurrency
1 parent d9c4d6d commit 77272e7Copy full SHA for 77272e7
Sources/JavaScriptKit/BasicObjects/JSPromise.swift
@@ -1,3 +1,7 @@
1
+#if hasFeature(Embedded) && os(WASI)
2
+import _Concurrency
3
+#endif
4
+
5
/// A wrapper around [the JavaScript `Promise` class](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
6
public final class JSPromise: JSBridgedClass {
7
/// The underlying JavaScript `Promise` object.
0 commit comments