void add(T data)

Adds data to the sink.

Must not be called after a call to close.

Source

void add(T data);