AirDC++ Socket Status (#58)

This commit was merged in pull request #58.
This commit is contained in:
2023-01-21 02:29:32 -08:00
committed by GitHub
parent a8b52d0ac6
commit 8dd68e9d54
12 changed files with 376 additions and 292 deletions

View File

@@ -18,7 +18,7 @@ function sleep(ms: number): Promise<NodeJS.Timeout> {
}
export const search = async (data: SearchData) => {
await SocketService.connect("admin", "password");
await SocketService.connect();
const instance: SearchInstance = await SocketService.post("search");
const unsubscribe = await SocketService.addListener(
"search",