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.
2 parents cb337e7 + 77272e7 commit 2d23296Copy full SHA for 2d23296
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