File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ extension Observable {
13
13
14
14
/**
15
15
Transforms an async function that returns data through a completionHandler in a function that returns data through an Observable
16
- - The returned function will thake the same arguments than asyncRequest, minus the last one
16
+ - The returned function will take the same arguments as asyncRequest, minus the last one
17
17
*/
18
18
public static func fromAsync( _ asyncRequest: @escaping ( @escaping ( Element ) -> Void ) -> Void ) -> Observable < Element > {
19
19
return Observable . create ( { ( o) -> Disposable in
@@ -75,7 +75,7 @@ public enum FromAsyncError: Error {
75
75
public extension PrimitiveSequenceType where Trait == SingleTrait {
76
76
/**
77
77
Transforms an async function that returns data or error through a completionHandler in a function that returns data through a Single
78
- - The returned function will thake the same arguments than asyncRequest, minus the last one
78
+ - The returned function will take the same arguments as asyncRequest, minus the last one
79
79
*/
80
80
static func fromAsync< Er: Error > ( _ asyncRequest: @escaping ( @escaping ( Element ? , Er ? ) -> Void ) -> Void ) -> Single < Element > {
81
81
return . create { single in
You can’t perform that action at this time.
0 commit comments