@Override
    public AsyncAuditOutputStream write(AuditEvent event) {
        if (event instanceof AnnotationAuditEvent) {
            annotationStream.write((AnnotationAuditEvent) event);
        } else {
            deferred.accept(event);
            b.await();
        }
        
        return this;
    }
@ Override public AsyncAuditOutputStream write ( AuditEvent event ) { if ( event instanceof AnnotationAuditEvent ) { annotationStream . write ( ( AnnotationAuditEvent ) event ) ; } else { deferred . accept ( event ) ; b . await ( ) ; } return this ; }
{@inheritDoc}

@see org.audit4j.core.io.AuditOutputStream#write(org.audit4j.core.dto.Event)