Skip to content

Commit

Permalink
add util function
Browse files Browse the repository at this point in the history
  • Loading branch information
singh88 committed Oct 5, 2021
1 parent 0d2ca85 commit 5292a5b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Sources/ReduxStore/Action.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ import RxCocoa
public protocol Action { }

public protocol ReduxState { }

protocol HasDisposeBag {
var disposeBag: DisposeBag { get }
}

extension HasDisposeBag {
var disposeBag: DisposeBag {
return DisposeBag()
}
}

0 comments on commit 5292a5b

Please sign in to comment.