Skip to content

Commit dfa1d65

Browse files
committed
feat: remove channel track and untrack helper methods
1 parent 4eea607 commit dfa1d65

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

packages/core/realtime-js/src/RealtimeChannel.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -88,30 +88,6 @@ export default class RealtimeChannel {
8888
return this.presence.list()
8989
}
9090

91-
async track(
92-
payload: { [key: string]: any },
93-
opts: { [key: string]: any } = {}
94-
) {
95-
return this.send(
96-
{
97-
type: 'presence',
98-
event: 'track',
99-
payload,
100-
},
101-
opts
102-
)
103-
}
104-
105-
async untrack(opts: { [key: string]: any } = {}) {
106-
return this.send(
107-
{
108-
type: 'presence',
109-
event: 'untrack',
110-
},
111-
opts
112-
)
113-
}
114-
11591
rejoinUntilConnected() {
11692
this.rejoinTimer.scheduleTimeout()
11793
if (this.socket.isConnected()) {

0 commit comments

Comments
 (0)