Skip to content

where will we pass the second param cb for wrappedActionHandler? #1578

Closed
@tinyCucumber

Description

@tinyCucumber

Version

3.1.1

Reproduction link

https://codepen.io/cucumbers/pen/bPQQeO

Steps to reproduce

in the function registerAction, we will wrap the true handler and push into entry.And the wrapped handler receive two params - payload and cb. But what we can see in function dispatch is that the second param cb will never be passed in.

What is expected?

If the param cb is useless, remove it.

What is actually happening?

The param cb for wrappedActionHandler is never used;

Metadata

Metadata

Assignees

No one assigned

    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