phoenix-to-redux
  • Overview
  • Installation
  • Quick Start
  • Reference
    • API Reference
      • Socket
        • Methods
          • disconnectPhoenix
          • connectPhoenix
        • Events
          • SOCKET_ERROR
          • SOCKET_OPEN
          • SOCKET_DISCONNECT
          • SOCKET_CLOSE
          • SOCKET_CONNECT
      • Channel
        • Methods
          • leavePhoenixChannel
          • leavePhoenixChannelEvents
          • leavePhoenixChannelEvent
          • getPhoenixChannel
          • pushPhoenixChannel
        • Events
          • CHANNEL_ERROR
          • CHANNEL_LEAVE
          • CHANNEL_JOIN_ERROR
          • CHANNEL_JOIN
          • CHANNEL_TIMEOUT
          • CHANNEL_PUSH_ERROR
          • CHANNEL_CLOSE
Powered by GitBook

Copyright (c) 2020 Trixta Inc

On this page

Was this helpful?

Export as PDF
  1. Reference
  2. API Reference
  3. Channel
  4. Methods

leavePhoenixChannelEvent

This method will unsubscribe for the given event for the given channelTopic

import { leavePhoenixChannelEvent } from '@trixtateam/phoenix-to-redux';

Parameters

Parameter
Description
Type
Required

channelTopic

Name of channel/Topic

string

event

Event name to unsubscribe to

string

PreviousleavePhoenixChannelEventsNextgetPhoenixChannel

Last updated 2 years ago

Was this helpful?