Skip to content

Dispatcher.compose doesn't return a true dispatcher #3370

@ronag

Description

@ronag

It doesn't:

  • forward dispatcher events
  • forward .dispatch return value
  • handle async dispatches in terms of backpressure

Fixing these are quite complicated.

I suggest DIspatcher.compose is replaced by undici.compose which just returns a dispatch function and then we add support for all places that take a dispatcher argument should also check if it is a function and use it accordingly.

Refs: #3368

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions