code: function registerChannel(channel) {
    channels[channel.name] = channel;
    NativeBridge.registerChannel(channel.name, bridgeListener);
  }
docs: /*
  The bridge's native code processes each channel's messages in a dedicated
  per-channel queue, therefore each channel needs to be registered within
  the native code.