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

Example code for writeStream ignores that stream.write() returns a promise? #467

Closed
@lll000111

Description

@lll000111

The example code at https://github.com/wkh237/react-native-fetch-blob#file-stream completely ignores the promise returned by the write function.

Now I wonder, if it does not matter, why return a promise? But if it matters, don't I have to wait for the promise? One, to be sure of success, two, for sequencing the writes correctly?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions