Skip to content

Commit

Permalink
Merge pull request #103 from square/dhaval/rmUnnecessaryImports
Browse files Browse the repository at this point in the history
Remove unused ReactiveSwift imports
  • Loading branch information
dhavalshreyas authored Oct 28, 2021
2 parents f9da418 + 2306713 commit 8fd3fce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Workflow/Sources/SubtreeManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

import Dispatch
import ReactiveSwift

extension WorkflowNode {
/// Manages the subtree of a workflow. Specifically, this type encapsulates the logic required to update and manage
Expand Down Expand Up @@ -391,8 +390,6 @@ extension WorkflowNode.SubtreeManager {
private let node: WorkflowNode<W>
private var outputMap: (W.Output) -> AnyWorkflowAction<WorkflowType>

private let (lifetime, token) = ReactiveSwift.Lifetime.make()

init(workflow: W, outputMap: @escaping (W.Output) -> AnyWorkflowAction<WorkflowType>, eventPipe: EventPipe) {
self.outputMap = outputMap
self.node = WorkflowNode<W>(workflow: workflow)
Expand Down
2 changes: 0 additions & 2 deletions Workflow/Sources/Workflow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* limitations under the License.
*/

import ReactiveSwift

/// Defines a node in the workflow tree.
///
/// ***
Expand Down
2 changes: 0 additions & 2 deletions Workflow/Sources/WorkflowNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* limitations under the License.
*/

import ReactiveSwift

/// Manages a running workflow.
final class WorkflowNode<WorkflowType: Workflow> {
/// Holds the current state of the workflow
Expand Down
2 changes: 0 additions & 2 deletions Workflow/Tests/WorkflowNodeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import XCTest
@testable import Workflow

import ReactiveSwift

final class WorkflowNodeTests: XCTestCase {
func test_rendersSimpleWorkflow() {
let node = WorkflowNode(workflow: SimpleWorkflow(string: "Foo"))
Expand Down

0 comments on commit 8fd3fce

Please sign in to comment.