I'd look at something like the following (copied from
the 0.8 announcement)
interface MyInterface {
streamingCall @0 () -> (callback :Callback);
interface Callback {
sendChunk @0 (chunk :Data) -> stream;
done @1 ();
}
}
The client can call `streamingCall`, then call `sendChunk` repeatedly to stream items to the server, calling done when it is done.