Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WorkflowRxSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.source_files = 'WorkflowRxSwift/Sources/**/*.swift'

s.dependency 'Workflow', "#{s.version}"
s.dependency 'RxSwift', '~> 5.1'
s.dependency 'RxSwift', '~> 6.2'

s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'WorkflowRxSwift/Tests/**/*.swift'
Expand Down
2 changes: 1 addition & 1 deletion WorkflowRxSwift/Sources/ObservableWorkflow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct ObservableWorkflow<Value>: Workflow {
context.runSideEffect(key: "") { [observable] lifetime in
let disposable = observable
.map { AnyWorkflowAction(sendingOutput: $0) }
.subscribeOn(MainScheduler.asyncInstance)
.subscribe(on: MainScheduler.asyncInstance)
.subscribe(onNext: { value in
sink.send(value)
})
Expand Down