Skip to content

Commit ae8d7ce

Browse files
committed
Cleanup of Action+Extension.swift
1 parent bcaf1f6 commit ae8d7ce

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Sources/Action/Action+Extensions.swift

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
//
2-
// Action+Extensions.swift
3-
// Action
4-
//
5-
// Created by Obi Bob on 01.03.19.
6-
// Copyright © 2019 CezaryKopacz. All rights reserved.
7-
//
8-
91
import Foundation
102
import RxSwift
113

12-
extension Action {
4+
public extension Action {
135
/// Filters out `notEnabled` errors and returns
146
/// only underlying error from `ActionError`
157
public var underlyingError: Observable<Error> {
@@ -22,7 +14,7 @@ extension Action {
2214
}
2315
}
2416

25-
extension Action where Input == Void {
17+
public extension Action where Input == Void {
2618
/// use to trigger an action.
2719
@discardableResult
2820
public func execute() -> Observable<Element> {

0 commit comments

Comments
 (0)