mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
browser tab use REST API.
This commit is contained in:
parent
b13c9696b1
commit
eeb82c09b3
@ -259,11 +259,6 @@
|
||||
return this.api.members
|
||||
}
|
||||
|
||||
// TODO: Refactor.
|
||||
public tabEvent(event: string, payload?: any | undefined) {
|
||||
this.websocket.send('tabs/' + event, { payload })
|
||||
}
|
||||
|
||||
// TODO: Refactor.
|
||||
tabHander?: (event: string, payload: any) => any
|
||||
public tabSubscribe(func: (event: string, payload: any) => any) {
|
||||
|
Loading…
Reference in New Issue
Block a user