* Subscribes to the 'network.authRequired' event and handles it with the provided callback. * * @param {Function} callback - The callback function to handle the event. * @returns {Promise } - A promise that resolves when the subscription is successful.
(callback)
| 131 | * @returns {Promise<number>} - A promise that resolves when the subscription is successful. |
| 132 | */ |
| 133 | async authRequired(callback) { |
| 134 | return await this.subscribeAndHandleEvent('network.authRequired', callback) |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * Subscribes to the 'network.fetchError' event and handles it with the provided callback. |
no test coverage detected