You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.package(url:"https://github.com/Quick/Nimble",.branch("master")), // dev
42
-
.package(url:"https://github.com/mattgallagher/CwlPreconditionTesting",.branch("master")), // dev
43
-
.package(url:"https://github.com/minuscorp/ModuleInterface", from:"0.0.1"), // dev
44
-
.package(url:"https://github.com/nicklockwood/SwiftFormat", from:"0.35.8"), // dev
45
-
.package(url:"https://github.com/jpsim/SourceKitten", from:"0.26.0"), // dev
46
-
.package(url:"https://github.com/shibapm/Rocket", from:"0.4.0"), // dev
47
-
.package(url:"https://github.com/Realm/SwiftLint", from:"0.35.0"), // dev
48
-
.package(url:"https://github.com/eneko/SourceDocs", from:"0.6.1"), // dev
49
-
.package(url:"https://github.com/shibapm/PackageConfig.git", from:"0.12.2"), // dev
50
-
.package(url:"https://github.com/shibapm/Komondor.git", from:"1.0.0"), // dev
51
-
.package(url:"https://github.com/Carthage/Commandant.git",.exact("0.17.0")), // dev
41
+
// .package(url: "https://github.com/Quick/Nimble", .branch("master")), // dev
42
+
// .package(url: "https://github.com/mattgallagher/CwlPreconditionTesting", .branch("master")), // dev
43
+
// .package(url: "https://github.com/minuscorp/ModuleInterface", from: "0.0.1"), // dev
44
+
// .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.35.8"), // dev
45
+
// .package(url: "https://github.com/jpsim/SourceKitten", from: "0.26.0"), // dev
46
+
// .package(url: "https://github.com/shibapm/Rocket", from: "0.4.0"), // dev
47
+
// .package(url: "https://github.com/Realm/SwiftLint", from: "0.35.0"), // dev
48
+
// .package(url: "https://github.com/eneko/SourceDocs", from: "0.6.1"), // dev
49
+
// .package(url: "https://github.com/shibapm/PackageConfig.git", from: "0.12.2"), // dev
50
+
// .package(url: "https://github.com/shibapm/Komondor.git", from: "1.0.0"), // dev
51
+
// .package(url: "https://github.com/Carthage/Commandant.git", .exact("0.17.0")), // dev
52
52
],
53
53
targets:[
54
54
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -73,7 +73,7 @@ let package = Package(
73
73
name:"MiniPromises",
74
74
dependencies:["Mini"]
75
75
),
76
-
.testTarget(name:"MiniSwiftTests", dependencies:["Mini","MiniTasks","MiniPromises","TestMiddleware","NIOConcurrencyHelpers","RxSwift","Nimble","RxTest","RxBlocking"]), // dev
extension PrimitiveSequenceType where Self.Element== Never, Self.Trait ==RxSwift.CompletableTrait{
130
+
/**
131
+
Dispatches an given action from the result of the `Completable` trait. This is only usable when the `Action` is an `EmptyAction`.
132
+
- Parameter action: The `CompletableAction` type to be dispatched.
133
+
- Parameter dispatcher: The `Dispatcher` object that will dispatch the action.
134
+
- Parameter mode: The `Dispatcher` dispatch mode, `.async` by default.
135
+
*/
109
136
public func dispatch<A>(action:A.Type, on dispatcher:Mini.Dispatcher, mode:Mini.Dispatcher.DispatchMode.UI=.async)->RxSwift.Disposablewhere A:MiniTasks.EmptyAction
110
137
138
+
/**
139
+
Builds an `EmptyAction` from a `Completable`
140
+
- Parameter action: The `EmptyAction` type to be built.
141
+
- Returns: A `Single` of the `EmptyAction` type declared by the action parameter.
142
+
*/
111
143
public func action<A>(_ action:A.Type)->RxSwift.Single<A>where A: MiniTasks.EmptyAction
0 commit comments