({ sessionId } = {})
| 29 | } |
| 30 | |
| 31 | joinSession({ sessionId } = {}) { |
| 32 | if (!sessionId) throw new Error('sessionId is required'); |
| 33 | |
| 34 | return this.store.send({ |
| 35 | type: 'session_join', |
| 36 | payload: { |
| 37 | session_id: sessionId, |
| 38 | joined_at: new Date().toISOString(), |
| 39 | }, |
| 40 | priority: 'normal', |
| 41 | }); |
| 42 | } |
| 43 | |
| 44 | leaveSession({ sessionId } = {}) { |
| 45 | if (!sessionId) throw new Error('sessionId is required'); |
no test coverage detected