Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

ipfs.addPullStream() wont pull #26

Closed
@olizilla

Description

@olizilla

In the following code, the pull.map callback is called, but pull.collect never does.

        const ipfsStream = ipfs.files.addPullStream()
        pull(
          pull.values([{content: buffer, path: `/${file.name}`}]),
          pull.map(x => {
            console.log(x)
            return x
          }),
          ipfsStream,
          pull.collect((err, values) => {
            console.log('pull stream res', {err, values})
          })
        )

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA bug in existing code (including security flaws)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions