Allow use of Combine to enable Xcode autocomplete (#299)
It looks weird, but it works 🤷♂️
This commit is contained in:
parent
082fa19398
commit
7320de9857
|
@ -13,7 +13,11 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import JavaScriptKit
|
import JavaScriptKit
|
||||||
|
#if canImport(Combine)
|
||||||
|
import Combine
|
||||||
|
#else
|
||||||
import OpenCombine
|
import OpenCombine
|
||||||
|
#endif
|
||||||
|
|
||||||
final class JSScheduler: Scheduler {
|
final class JSScheduler: Scheduler {
|
||||||
private final class CancellableTimer: Cancellable {
|
private final class CancellableTimer: Cancellable {
|
||||||
|
|
Loading…
Reference in New Issue