publish<T> method

Channel<T> publish<T>(
  1. String channelId,
  2. T instance
)

Implementation

Channel<T> publish<T>(String channelId, T instance)
{
  _assertLifeCycle(impl.Lifecycle.initializing);
  return ModuleManager.instance
      .getPublishChannel<T>(_modId, channelId, instance);
}