Skip to content

PublisherWorkflow in WorkflowCombine breaks workers attempting to use any scheduler besides main. #118

@mjohnson12

Description

@mjohnson12

PublisherWorkflow is using subscribe(on:) which is forcing all the publishers to use runloop main to run.
In unit tests it's useful to support test schedulers so you can fast forward time on the scheduler. Useful if testing timers.
Using a Scheduler besides main currently doesn't work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions