Skip to content

why using flatMap?Β #1

@ghost

Description

...flatMap(payload => {
          return Observable.of(new CloseDbSocketSuccess())

instead of using flatMap why don't you just use map()?
.map(payload => new CloseDbSocketSuccess())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions