[grpc-io] Re: how to flush messages on server

2018-01-07 Thread matt . mitchell
OK that makes sense. Thanks - Matt On Thursday, January 4, 2018 at 7:19:00 PM UTC-5, Carl Mastrangelo wrote: > > You should cast from the StreamObserver to a CallStreamObserver and only > send messages when isReady() is true. You can wait for it to become true > by setting an isReady handler

[grpc-io] Re: how to flush messages on server

2018-01-04 Thread 'Carl Mastrangelo' via grpc.io
You should cast from the StreamObserver to a CallStreamObserver and only send messages when isReady() is true. You can wait for it to become true by setting an isReady handler (look in that class for the exact method name). On Thursday, December 28, 2017 at 5:05:48 PM UTC-8,