subscribe<T> method

Channel<T> subscribe<T>(
  1. String channelId,
  2. T instance,
  3. ChannelCallback<T> callback
)

Implementation

Channel<T> subscribe<T>(String channelId, T instance, ChannelCallback<T> callback)
{
  _assertLifeCycle(impl.Lifecycle.initializing);
  return ModuleManager.instance
      .getSubscribeChannel<T>(_modId, channelId, instance, callback);
}