utils/socket/join_conversation library

Functions

joinConversationAndListen({List<PapercupsMessage>? messages, required String convId, required PhoenixChannel? conversation, required PhoenixSocket socket, required Function? setState, required Function setChannel}) → PhoenixChannel?
This function will join the channel and listen to new messages.