signalwire-js icon indicating copy to clipboard operation
signalwire-js copied to clipboard

Allow unsubscribe from the conversation subscribe API

Open iAmmar7 opened this issue 6 months ago • 2 comments

Description

The PR will allow the user to unsubscribe from the conversation API.

Type of change

  • [ ] Internal refactoring
  • [ ] Bug fix (bugfix - non-breaking)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Code snippets

const { unsubscribe } = await client.conversation.subscribe(() => { ... })
unsubscribe();

iAmmar7 avatar Aug 13 '24 21:08 iAmmar7