After writing a chunk of data, you flush the channel, and then the consumer will receive it immediately.