default void write(T o) {
        if (!tryWrite(o)) {
            throw ClosedStreamException.get();
        }
    }
Writes the specified object to the {@link StreamMessage}. The written object will be transferred to the
{@link Subscriber}.

@throws ClosedStreamException if the stream was already closed
@throws IllegalArgumentException if the publication of the specified object has been rejected
@see <a href="#reference-counted">Life cycle of reference-counted objects</a>
core/src/main/java/com/linecorp/armeria/common/stream/StreamWriter.java