setHandler method

void setHandler(
  1. TypeChannelHandler<T> handler
)

Implementation

void setHandler(TypeChannelHandler<T> handler) {
  messenger.registerHandler(name, handler);
}