* Get the `userId` associated with the current user. * * @example * ```typescript * Iterable.getUserId().then((userId) => { * // Do something with the userId * }); * ```
()
| 330 | * ``` |
| 331 | */ |
| 332 | static getUserId(): Promise<string | null | undefined> { |
| 333 | return IterableApi.getUserId(); |
| 334 | } |
| 335 | |
| 336 | /** |
| 337 | * Disable the device's token for the current user. This will disable push notifications for the current user. |