mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 06:10:01 -04:00
initial onerror impl
This commit is contained in:
parent
8d8e5bbf2e
commit
feaac8d6c3
4 changed files with 45 additions and 17 deletions
|
@ -93,11 +93,13 @@ export class AdriftBareClient extends Client {
|
|||
data,
|
||||
})
|
||||
);
|
||||
},
|
||||
(message: string) => {
|
||||
ws.dispatchEvent(new ErrorEvent("error", { message }));
|
||||
}
|
||||
);
|
||||
|
||||
ws.send = (data: any) => {
|
||||
console.log("Reached AdriftClient.ts send");
|
||||
send(data);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue