Reference NewStreamTask
Declared in Codebot.Networking.Storage.pas on line 143
NewStreamTask creates an async task using a stream object. The stream will be returned in the result of the completion event. The same rules apply to data as described above with the addition that you are responsible for managing the stream after completion.
function NewStreamTask(OnComplete: TNotifyStreamComplete; Data: TObject = nil; OwnsObject: Boolean = False): IAsyncStreamTask;