Streaming Creation

Streaming creation allows producers to begin writing parts to the package without knowing in advance all of the parts that will be written. For example, when an application begins to build a print spool file package, it may not know how many pages the package will contain. Likewise, a program that is generating a report may not know initially how long the report will be or how many pictures it will have.

In order to support streaming creation, the package implementer should allow a producer to add parts after other parts have already been added. A Consumer shall not require a producer to state how many parts they will create when they start writing. The package implementer should allow a producer to begin writing the contents of a part without knowing the ultimate length of the part.