I can see in examples and documentation how to stream large amounts of data when the total amount is known - use tryEnd and onWritable. But tryEnd will close the stream when the total amount is reached and I need to start sending data down before I know what the total size will be. It would be useful if there was a tryWrite that worked similarly but didn't require knowing the total size right away.
I can see in examples and documentation how to stream large amounts of data when the total amount is known - use
tryEndandonWritable. But tryEnd will close the stream when the total amount is reached and I need to start sending data down before I know what the total size will be. It would be useful if there was atryWritethat worked similarly but didn't require knowing the total size right away.