ServerJS/Filesystem API/Show of hands

From MozillaWiki
Jump to: navigation, search
.write operations on a stream
A.1) May do partial writes and return the data that has not yet been read.
A.2) May do partial writes and return the length of data that has been written.
  • Wes Garland
B) Block until all the data has been written to the underlying layer (partial writes may be handled with a different method or options; unspecified atm).
  • Daniel Friesen
  • Kris Kowal
  • Tom Robinson
  • Kevin Dangoor

Notes

  • Kris Kowal thinks that B).write should return `this` to allow chaining.
  • Joshaven Potter likes B