4
4
5
5
use Interop \Async \Loop \Driver ;
6
6
use Interop \Async \Loop \DriverFactory ;
7
- use Interop \Async \Loop \InvalidWatcherException ;
8
- use Interop \Async \Loop \UnsupportedFeatureException ;
9
7
10
8
final class Loop
11
9
{
@@ -211,8 +209,6 @@ public static function onWritable($stream, callable $callback, $data = null)
211
209
* @param mixed $data Arbitrary data given to the callback function as the $data parameter.
212
210
*
213
211
* @return string An identifier that can be used to cancel, enable or disable the watcher.
214
- *
215
- * @throws UnsupportedFeatureException Thrown if signal handling is not supported.
216
212
*/
217
213
public static function onSignal ($ signo , callable $ callback , $ data = null )
218
214
{
@@ -225,8 +221,6 @@ public static function onSignal($signo, callable $callback, $data = null)
225
221
* @param string $watcherId The watcher identifier.
226
222
*
227
223
* @return void
228
- *
229
- * @throws InvalidWatcherException Thrown if the watcher identifier is invalid or cancelled.
230
224
*/
231
225
public static function enable ($ watcherId )
232
226
{
@@ -239,8 +233,6 @@ public static function enable($watcherId)
239
233
* @param string $watcherId The watcher identifier.
240
234
*
241
235
* @return void
242
- *
243
- * @throws InvalidWatcherException Thrown if the watcher identifier is invalid or cancelled.
244
236
*/
245
237
public static function disable ($ watcherId )
246
238
{
@@ -253,8 +245,6 @@ public static function disable($watcherId)
253
245
* @param string $watcherId The watcher identifier.
254
246
*
255
247
* @return void
256
- *
257
- * @throws InvalidWatcherException Thrown if the watcher identifier is invalid or cancelled.
258
248
*/
259
249
public static function cancel ($ watcherId )
260
250
{
@@ -270,8 +260,6 @@ public static function cancel($watcherId)
270
260
* @param string $watcherId The watcher identifier.
271
261
*
272
262
* @return void
273
- *
274
- * @throws InvalidWatcherException Thrown if the watcher identifier is invalid or cancelled.
275
263
*/
276
264
public static function reference ($ watcherId )
277
265
{
@@ -287,8 +275,6 @@ public static function reference($watcherId)
287
275
* @param string $watcherId The watcher identifier.
288
276
*
289
277
* @return void
290
- *
291
- * @throws InvalidWatcherException Thrown if the watcher identifier is invalid or cancelled.
292
278
*/
293
279
public static function unreference ($ watcherId )
294
280
{
0 commit comments