From 230671334c30246208b7fe4e0358e2d468394af4 Mon Sep 17 00:00:00 2001 From: Dhaval Shreyas Date: Wed, 27 Oct 2021 12:36:55 -0700 Subject: [PATCH] Remove unused ReactiveSwift imports --- Workflow/Sources/SubtreeManager.swift | 3 --- Workflow/Sources/Workflow.swift | 2 -- Workflow/Sources/WorkflowNode.swift | 2 -- Workflow/Tests/WorkflowNodeTests.swift | 2 -- 4 files changed, 9 deletions(-) diff --git a/Workflow/Sources/SubtreeManager.swift b/Workflow/Sources/SubtreeManager.swift index c7ca3fd5e..76711ab29 100644 --- a/Workflow/Sources/SubtreeManager.swift +++ b/Workflow/Sources/SubtreeManager.swift @@ -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 @@ -391,8 +390,6 @@ extension WorkflowNode.SubtreeManager { private let node: WorkflowNode private var outputMap: (W.Output) -> AnyWorkflowAction - private let (lifetime, token) = ReactiveSwift.Lifetime.make() - init(workflow: W, outputMap: @escaping (W.Output) -> AnyWorkflowAction, eventPipe: EventPipe) { self.outputMap = outputMap self.node = WorkflowNode(workflow: workflow) diff --git a/Workflow/Sources/Workflow.swift b/Workflow/Sources/Workflow.swift index 86ac9fb4d..2ad5f262e 100644 --- a/Workflow/Sources/Workflow.swift +++ b/Workflow/Sources/Workflow.swift @@ -14,8 +14,6 @@ * limitations under the License. */ -import ReactiveSwift - /// Defines a node in the workflow tree. /// /// *** diff --git a/Workflow/Sources/WorkflowNode.swift b/Workflow/Sources/WorkflowNode.swift index a12c11d6a..38e592227 100644 --- a/Workflow/Sources/WorkflowNode.swift +++ b/Workflow/Sources/WorkflowNode.swift @@ -14,8 +14,6 @@ * limitations under the License. */ -import ReactiveSwift - /// Manages a running workflow. final class WorkflowNode { /// Holds the current state of the workflow diff --git a/Workflow/Tests/WorkflowNodeTests.swift b/Workflow/Tests/WorkflowNodeTests.swift index f49d2fb32..7a124e660 100644 --- a/Workflow/Tests/WorkflowNodeTests.swift +++ b/Workflow/Tests/WorkflowNodeTests.swift @@ -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"))