tryAdd method

void tryAdd(
  1. T event
)

Implementation

void tryAdd(T event) {
  if (!isClosed) {
    add(event);
  }
}