The grid (core) ยท console.warn
presence provider has no subscribe(); peers will never appear.
Printed by The grid (core), prefixed [lattice], since 1.4.0.
Warnings reference › presence.subscribe
- Identifier
presence.subscribe- Raised by
- The grid (core)
- Since
- 1.4.0
What happened
The presence provider does not implement subscribe, which is how peers are delivered. Nothing is subscribed, so no peer ever appears and the presence UI stays empty however many people are on the document.
The fix
Implement subscribe(handler) on the provider.
Reference
Covered in full at the API reference.