void add(T event)

Adds a data event to the sink.

Must not be called on a closed sink.

Source

void add(T event);