utils/intitChannels library
Functions
-
initChannels(
bool _connected, PhoenixSocket _socket, PhoenixChannel? _channel, Props props, bool _canJoinConversation, Function setState) → dynamic - This function creates the necessary channels, sockets and rooms for papercups to communicate.