Skip to content

Commit

Permalink
Merge pull request #716 from amazon-connect/onACW-function-description
Browse files Browse the repository at this point in the history
Updating function description to clarify the ACW state for contact na…
  • Loading branch information
vpogudina authored Aug 7, 2023
2 parents 98268d2 + 9a51ba7 commit 7332583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ declare namespace connect {
onDestroy(callback: ContactCallback): void;

/**
* Subscribe a method to be invoked whenever the contact enters the ACW state.
* Subscribe a method to be invoked whenever the contact enters the ACW state, named `ContactStateType.ENDED`.
* This is after the connection has been closed, but before the contact is destroyed.
*
* @param callback A callback to receive the `Contact` API object instance.
Expand Down

0 comments on commit 7332583

Please sign in to comment.