* Logs out the current user from the Iterable SDK. * * This method will remove all event listeners for the Iterable SDK and set the email and user ID to null. * * @example * ```typescript * Iterable.logout(); * ```
()
| 929 | * ``` |
| 930 | */ |
| 931 | static logout() { |
| 932 | Iterable.removeAllEventListeners(); |
| 933 | Iterable.setEmail(null); |
| 934 | Iterable.setUserId(null); |
| 935 | } |
| 936 | |
| 937 | /** |
| 938 | * Removes all event listeners for the Iterable SDK. |
no test coverage detected