mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
chore: format code
This commit is contained in:
parent
0046c76ee1
commit
19ee58ce29
12 changed files with 122 additions and 51 deletions
|
@ -1,5 +1,3 @@
|
|||
// cspell: ignore libusb
|
||||
|
||||
import { PromiseResolver } from "@yume-chan/async";
|
||||
import {
|
||||
AbortController,
|
||||
|
@ -269,6 +267,10 @@ export class Adb implements Closeable {
|
|||
}
|
||||
}
|
||||
|
||||
public supportsFeature(feature: AdbFeatures): boolean {
|
||||
return this._features.includes(feature);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a handler for incoming socket.
|
||||
* @param handler A function to call with new incoming sockets. It must return `true` if it accepts the socket.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue