Skip to content

Switchmap discrepancy when using async* #801

Description

@danReynolds
Image Image

Looking to get clarity on why switchMap doesn't switch its subscription in the async* version and delays processing the next event (the early return) until after the future has resolved from the previous subscription?

I thought it should switch immediately on the new source input like it does in the other version. Is this a bug when using async* or a difference I just don't understand yet? Thanks!

Using: 0.28.0

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