subscribe abstract method

EventSubscription subscribe(
  1. EventHandler<T> handler
)

Subscribes to the given handler.

This finalizes the builder and applies all the steps before subscribing.

Implementation

EventSubscription subscribe(EventHandler<T> handler);