Closed Bug 1119464 Opened 9 years ago Closed 2 years ago

Add an API for asynchronously reading from a file to an nsIOutputStream

Categories

(Toolkit Graveyard :: OS.File, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mossop, Unassigned)

Details

Many of our APIs use nsIOutputStream. Currently there is no easy way to open a file with OS.file and write its contents to an nsIOutputStream asynchronously.

:mossop is this a feature we want on IOUtils? (It would have to do the writing to the nsIOutputStream on the background thread pool)

Flags: needinfo?(dtownsend)

I'm not really sure what cases this would be useful for these days.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(dtownsend)
Resolution: --- → WONTFIX
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.